Any devices developed based on protocols between devices and Tuya Cloud can be integrated into Tuya Developer Platform.
Establish an abstraction layer between the hardware and the OS independent of hardware communication and development, so any smart devices can be connected to Tuya Developer Platform by adapting to underlying interfaces.
Complete the migration of the underlying interfaces to connect your device to the Tuya Developer Platform.
Download TuyaOS Link SDK in GitHub.
Allocate memory, obtain system timestamps, and complete system interface migration.
The SDK interacts with the server through the MQTT or HTTPS protocols. All communications shall be connected based on TLS, and relevant APIs are implemented through the TCP/IP protocol stack to connect to the network layer.
The SDK needs to store configuration information in the device during operation, so a persistent KV interface is provided to read, write, and delete the information conveniently.
After the underlying interface adaptation is completed, the device can be connected to the Tuya Cloud, and functional application codes can be developed.
With Wi-Fi, Bluetooth, Zigbee, Sub-1G, and other protocols, you can develop various sensors, IPC, smart locks, and more.
With NB-IoT, LTE Cat.1, GPRS, and other wide-area protocols, you can develop smart outdoor devices and create a smart life.
Integrate with Modbus, CANopen, and KNX industrial devices, achieve networking, help factories analyze data, and improve production efficiency.