English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

What is the network pairing process of a Wi-Fi module?

Last Updated on2023-01-30 09:46:22
EZ mode: 1. Connect your mobile phone to a Wi-Fi network, open the app, and tap the plus sign (+) in the upper right corner. Enter the Wi-Fi password to request the network pairing token. 2. Initialize the hardware device and ensure that the Wi-Fi indicator blinks quickly. 3. Enable the mobile phone to send the SSID, password, or token in broadcast or multicast mode. 4. The hardware device obtains the SSID, password, or token in the configuration information based on the UDP packet length in broadcast mode and IP address in multicast mode, and the Wi-Fi indicator is off. Connect the hardware device to the router. After successful connection, the Wi-Fi indicator is on. Send the token and register with the server. After successful registration, log in to the MQTT server. 5. Based on the token, the mobile phone searches for the device on the server and returns the device information.
AP mode: 1. Connect your mobile phone to a Wi-Fi network, open the app, and tap the plus sign (+) in the upper right corner. Enter the Wi-Fi password to request the network pairing token. 2. Initialize the hardware device, enable it to enter the AP mode, and ensure that the Wi-Fi indicator blinks slowly. 3. Connect the mobile phone to the hardware device's hotspot (SSID). After successful connection, use UDP packets to send the AES-encrypted SSID, password, or token. 4. After the device obtains configuration information in the UDP packets, connect the device to the Wi-Fi network and disconnect its hotspot. Send the token, register with the server, and log in to the MQTT server. 5. Connect the mobile phone to the Wi-Fi network and search for the device on the server based on the token. 6. The server returns the device information.

Click for services and help

Help Center