| CPC G06F 21/34 (2013.01) [G06F 21/602 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
at least one communication circuit;
a display;
a memory configured to store instructions; and
a processor, operably coupled with the memory, the at least one communication circuit, and the display,
wherein the processor is, when the instructions are executed, configured to:
display, before a connection with another electronic device for assisting an initial setup of the electronic device is established, a barcode for authenticating the other electronic device in a user interface for the initial setup;
establish, in response to a request of the connection, the connection, the request transmitted to the electronic device from the other electronic device based on a signal broadcasted from the electronic device;
receive, via the connection from the other electronic device, data that is encrypted based on scan of the barcode performed through a camera of the other electronic device;
decrypt the encrypted data by using key information included in the bar code; and
execute the initial setup based on at least one signal received from the other electronic device after authenticating the other electronic device by using the decrypted data.
|