METHOD FOR COMMUNICATING WITH EXTERNAL ELECTRONIC APPARATUS AND ELECTRONIC APPARATUS THEREOF

    公开(公告)号:US20210127245A1

    公开(公告)日:2021-04-29

    申请号:US17079749

    申请日:2020-10-26

    摘要: An electronic device and method are disclosed herein. The electronic device includes memory storing a certificate list including first certificate data of the electronic device, and second certificate data of an external electronic device, a short-range wireless communication circuit, and a processor. The processor implements the method, including: detecting a trigger event for requesting establishment a communication connection with a device local to the electronic device, controlling the short-range wireless communication circuit to broadcast an advertisement packet generated based on the first certificate data, in response to detecting the trigger event, receiving a response packet from the external electronic device and acquire a third certificate data from the received response packet, authenticating the external electronic device based on the second certificate data and the third certificate data, and establishing a secure communication channel with the external electronic device if the external electronic device is authenticated.