| CPC H04W 8/005 (2013.01) [H04W 12/08 (2013.01)] | 19 Claims |

|
1. A discovery and provisioning method, wherein the method is applied to a first device and comprises:
sending, by the first device, a first Wi-Fi sensing frame through a first antenna when the first device is in an unprovisioned state, wherein the first Wi-Fi sensing frame enables a second device to discover the first device, wherein the first device comprises the first antenna and a second antenna, and a wireless transmit power of the first device operating by using the first antenna is less than a wireless transmit power of the first device operating by using the second antenna;
after the first device is discovered by the second device, receiving, by the first device through the second antenna, a second Wi-Fi sensing frame sent by the second device, wherein the second Wi-Fi sensing frame comprises a service set identifier (SSID) of a Wi-Fi router and a password of the Wi-Fi router; and
connecting, by the first device, to the Wi-Fi router according to the SSID and the password.
|