US 12,001,617 B1
Electronic device and method of operating electronic pen
Inhyung Jung, Suwon-si (KR); Byunghoon Kang, Suwon-si (KR); Hyunwoong Kwon, Suwon-si (KR); Sanghui Park, Suwon-si (KR); Banghyun Kwon, Suwon-si (KR); Sangheon Kim, Suwon-si (KR); and Yeunwook Lim, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Oct. 14, 2022, as Appl. No. 17/966,429.
Application 17/966,429 is a continuation of application No. PCT/KR2022/011842, filed on Aug. 9, 2022.
Claims priority of application No. 10-2021-0105004 (KR), filed on Aug. 10, 2021.
Int. Cl. G06F 3/0354 (2013.01); G06F 3/038 (2013.01)
CPC G06F 3/03545 (2013.01) [G06F 3/0383 (2013.01); G06F 2203/0384 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An electronic device, comprising:
a display;
a communication circuit;
memory; and
one or more processors operatively connected to the display, the communication circuit, and the memory,
wherein the memory store one or more computer programs including computer-executable instructions that, when executed by the one or more processors, cause the electronic device to:
identify, when an electronic pen touches or comes in proximity to the display, a frequency of the electronic pen,
establish a communication connection with the electronic pen using the communication circuit to obtain switch information and a device identification (ID), the switch information comprising information on an operation mode of the electronic pen based on switch configuration information of the electronic pen,
obtain an electronic pen connection record from the memory,
determine a type of the electronic pen based on the device ID,
determine an operation mode of the electronic pen based on the switch information, and
perform a predetermined function based on at least one of the frequency, the electronic pen connection record, the type of the electronic pen, or the operation mode.