Abstract:
Various embodiments of the present disclosure relate to an electronic device for controlling an external electronic device using a user input, and an operating method thereof. An electronic device according to various embodiments of the present disclosure may include a housing, a touchscreen display exposed through the housing, a communication circuit, a processor disposed inside the housing and electrically coupled with the display and the wireless communication circuit, and a memory disposed inside the housing and electrically coupled with the processor. The memory may store instructions which, when executed by the processor, cause the electronic device to provide a user interface for receiving a user handwriting input, to receive a first handwriting input of a first object through the display, to determine a shape of the first object, to select an external electronic device to control based on the shape of the first object, and to establish wireless communication with the external electronic device to control, through the communication circuit.
Abstract:
An electronic device and a method for recognizing an electronic device are provided. The method includes transmitting a first packet including information associated with communication in a shorter range than a range that is set for short-range communication or receiving a second packet transmitted with low energy, determining a distance to the electronic device having transmitted the received second packet based on the information associated with the communication in the shorter range than the set range, when the information associated with the communication in the shorter range than the set range is included in the received second packet, and controlling a transmission power to transmit the first packet to be transmitted over the determined distance.