| CPC H04W 12/04 (2013.01) [H04L 9/30 (2013.01); H04W 48/10 (2013.01); H04W 76/10 (2018.02)] | 20 Claims |

|
1. An electronic device, comprising:
a wireless communication circuit;
a memory storing instructions;
a display; and
a processor communicatively coupled to the wireless communication circuit, the memory, and the display,
wherein the processor is configured to execute the instructions to:
receive, from at least one server through the wireless communication circuit, a first decryption key and store the first decryption key in the electronic device;
receive, from an external device through the wireless communication circuit, an advertising packet, at least one portion of the advertising packet being encrypted with a first encryption key;
decrypt the at least one portion of the advertising packet with the first decryption key; and
transmit, to the at least one server through the wireless communication circuit, information comprised in the decrypted advertising packet,
wherein the first decryption key corresponds to the first encryption key,
wherein the advertising packet includes device information of the external device and encrypted additional information associated with the external device, the device information of the external device is not encrypted,
based on the encrypted additional information not being decrypted with the first decryption key, transmit, to the at least one server through the wireless communication circuit, location information of the electronic device and the device information, and
based on the encrypted additional information being decrypted with the first decryption key, transmit, to the at least one server through the wireless communication circuit, the location information of the electronic device and the device information and display, on the display, at least portion of the additional information decrypted using the first decryption key.
|