Abstract:
An electronic device forming a mesh network with a plurality of other devices and a method for operating the same are disclosed. According to an embodiment, an electronic device may comprise a wireless communication circuit configured to provide Bluetooth low energy (BLE) wireless communication and a control circuit operably connected with the wireless communication circuit, the control circuit configured to form a mesh network with a plurality of devices using the wireless communication circuit, where a provisioning process is performed so that each of the plurality of devices is a node in the mesh network, receive, from a first device among the plurality of devices, first information including first identification information associated with the first device and second identification information associated with a second external device outside the mesh network, determine whether the first device is able to perform the provisioning process, when the first device is determined to be able to perform the provisioning process, provide, to the first device, an authorization that allows performance of the provisioning process on the second device by the first device, and receive, from the first device, second information including a result of the provisioning process on the second external device and device information associated with the second external device. Other various embodiments are also possible.
Abstract:
A method of reconnecting communication with a second device by a first device in short-range wireless communication is provided. The method includes, when it is determined that a link loss is generated at a link with the second device, adjusting a scanning period of advertisement data broadcasted by the second device and a size of a scan window in which the scanning is performed, according to a time during which the link loss continues; and scanning the advertisement data at each of the adjusted scanning periods in the scan window corresponding to the adjusted size.