Last Updated on : 2024-07-24 07:06:00download
The pairing and activation of the laser robot vacuum is the first step in Tuya’s IoT basic service. The device is connected to the router through pairing, and then accesses Tuya services to get activated. This topic summarizes the pairing modes available to laser robot vacuums. The following table lists the specific pairing and adaptation methods:
Pairing method | Description |
---|---|
AP pairing | 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. |
Bluetooth pairing | 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. |
If you have any problems with TuyaOS development, you can post your questions in the Tuya Developer Forum.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback