Advantages

Integration with Any Devices

Any devices developed based on protocols between devices and Tuya Cloud can be integrated into Tuya Developer Platform.

Cross Platforms

Establish an abstraction layer of the operating system and the chip based on TuyaOS features across platforms.

Flexible Development

Provide standard network layer interfaces and SAL abstractions for chip platforms of various integration methods and protocols.

Fast Development

Locally adapt the system, network and data persistence interfaces to integrate with TuyaOS Link SDK and connect the device to Tuya Cloud.

Safe and Reliable

Support secure connection and data storage, and guarantee local and network data security.

Diversified Scenarios

Products on the Tuya Developer Platform can join Tuya's global ecosystem and widely used in scenarios like homes, hotels, apartments and more.

Architecture

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.

Architecture

Development

Complete the migration of the underlying interfaces to connect your device to the Tuya Developer Platform.

01. Download SDK

Download TuyaOS Link SDK in GitHub.

02. Migrate System Interfaces

Allocate memory, obtain system timestamps, and complete system interface migration.

03. Migrate Network Interfaces

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.

04. Migrate Data Interfaces

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.

05. Apply Code Development

After the underlying interface adaptation is completed, the device can be connected to the Tuya Cloud, and functional application codes can be developed.

Scenarios

Smart Security

With Wi-Fi, Bluetooth, Zigbee, Sub-1G, and other protocols, you can develop various sensors, IPC, smart locks, and more.

Smart Outdoor Devices

With NB-IoT, LTE Cat.1, GPRS, and other wide-area protocols, you can develop smart outdoor devices and create a smart life.

Smart Industry

Integrate with Modbus, CANopen, and KNX industrial devices, achieve networking, help factories analyze data, and improve production efficiency.

Documentation

TuyaOS Link SDK Development Overview

TuyaOS Link SDK Developer Guide

TuyaOS Link Migration Guide

Take the Next Step

Develop with Link SDK to connect devices to the Tuya Developer Platform.