Pairing and Activation

Last Updated on : 2023-09-06 10:41:15download

This topic summarizes the pairing modes available to gateways. You can click the title to check out the details.

Pairing modes
Description
Pairing over wired connection After a device is connected to a router, it regularly sends user datagram protocol (UDP) packets over a LAN. In the same LAN, after the mobile app receives a packet, it negotiates a secret key and then sends the activation token to the device. The device authenticates with the cloud for activation using the authorization information and token.
Pairing in AP mode A device acts as an access point (AP). After the mobile phone is connected to this AP, it sends the device the SSID and password of the router and the activation token over a TLS connection. After receiving the SSID and password, the device switches to station mode to connect to the router and then authenticates with the cloud for activation using the authorization information and token.
Pairing over Bluetooth A device regularly sends Bluetooth advertising packets to any listening device. After discovering a device, the mobile app pairs with it, exchanges keys, establishes a connection, and sends it the SSID and password of the router and the activation token. After receiving the SSID and password, the device switches to station mode to connect to the router and then authenticates with the cloud for activation using the authorization information and token.