| CPC H04W 40/22 (2013.01) [G01S 13/0209 (2013.01); H04W 4/029 (2018.02); H04W 88/04 (2013.01)] | 16 Claims |

|
1. An electronic device, comprising:
a display;
a communication circuit; and
at least one processor operatively connected with the display and the communication circuit, wherein the at least one processor is configured to:
establish, via the communication circuit, a connection with a second external electronic device upon identifying that a packet is not received from a first external electronic device during set time while providing a location-based service for the first external electronic device,
transmit, to the second external electronic device via the communication circuit, a packet for requesting to operate as a relay device for obtaining a location of the first external electronic device,
receive, from the second external electronic device via the communication circuit, a packet including a distance and a direction between the second external electronic device and the first external electronic device,
predict a location of the first external electronic device based on a distance and a direction between the electronic device and the second external electronic device, and the distance and the direction between the second external electronic device and the first external electronic device, and
display, through the display, information indicating the predicted location of the first external electronic device,
wherein the distance and the direction between the second external electronic device and the first external electronic device are obtained through an ultra wide band (UWB) connection, and
wherein the packet including the distance and the direction between the second external electronic device and the first external electronic device further includes at least one of:
device information of the second external electronic device, device information of the first external electronic device, or
information related to a ranging protocol used for a UWB ranging operation between the second external electronic device and the first external electronic device.
|