Patent attributes
Disclosed is an electronic device that includes a display, a communication module, at least one microphone, at least one speaker, a processor operatively coupled to the display, the communication module, the microphone, and the speaker, and a memory operatively coupled to the processor. The memory may store instructions, when executed, causing the processor to transmit, through the speaker, a first audio sound including first information, receive, through the microphone, a second audio sound including second information responding to the first information from a first external electronic device, transmit, through the speaker, a third audio sound including third information for acquiring a distance to the first external electronic device after receiving the second audio sound, and receive, through the microphone, a fourth audio sound including fourth information responding to the third information from the first external electronic device.