Capability Map

Last Updated on : 2024-06-24 10:10:16download

This topic describes the TuyaOS-based basic capabilities of laser robot vacuums. Basic capabilities include device pairing, cloud connectivity, control over MQTT, OTA updates, as well as reporting real-time maps, routes, floor maps, and cleaning history.

Capability list

Capability Description
Reset A device is restored to the settings that the device had before it was paired and activated.
  • Device reset can be triggered by hardware operation or mobile app operation.
  • In terms of device status after a reset, there are two types of reset: normal reset (device unbound) and factory reset (device unbound with data erased).
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.
Control over MQTT A mobile app sends data through the MQTT protocol to control the operation and data interaction of the specified device.
OTA updates An over-the-air (OTA) update is the wireless delivery of new software, firmware, or other data to connected smart devices.
Real-time map and route reporting With Tuya’s proprietary peer-to-peer (P2P) technology, a device and a mobile app can establish a secure P2P connection for data transfer. The map and route data pushed by the device are displayed on the mobile app.
Floor map and cleaning history reporting The device pushes the floor map and cleaning history to the server through TuyaOS SDK. The mobile app calls the APIs to get the data from the server and displays it on the app.

Support and help

If you have any problems with TuyaOS development, you can post your questions in the Tuya Developer Forum.