English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development Platform

App development platform provides multiple development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.
layoutIndex

Link SDK Development

Last Updated on : 2021-06-07 06:58:31download

The TuyaOS Link SDK is built with C programming language, which provides interface encapsulation of basic services such as device activation, DP upstream and downstream, and OTA. It is suitable for developers to connect the logic services of a self-developed device to the Tuya cloud.

The Link SDK does not depend on a specific platform and operating system. You can access it by providing necessary system-dependent interfaces and the support of the TCP/IP protocol stack.

Access methods

The Link SDK supports multiple access methods. You can select an appropriate method according to the hardware solution. See the following pictures for the methods.

  • SoC integration

    Link SDK Development
  • AT module + master control MCU integration

    Link SDK Development
  • AT module integration

    Link SDK Development

  • OpenCPU integration

    Link SDK Development

Access process

The Link SDK is only applicable to the access of devices that are not in the scope of the existing product solutions of Tuya. See the following steps for creating an access method product.

Note: If the product is in the scope of an existing solution, select the corresponding category.

  1. Log in to the IoT Platform, select Can’t find the category?, enter the product-related information and select a network connecting method. Then click Create Product, and obtain the PID information.

    Link SDK Development

    Link SDK Development

  2. Click Create Functions, add the DP ID according to product functions, and then configure related information.

    Note: The IoT Platform currently supports six data types, including Boolean, Integer, Enum, Fault, Char type, and RAW type. For more information, see Custom Functions.

    Link SDK Development

    Link SDK Development

  3. Select a panel in App Panel Design.

  4. Download the Link SDK and free activation code.

    1. Select Self-developed Module SDK.

    2. In Develop SDK area, select the default hardware information, enter a module name, and then click OK.
      Link SDK Development

    3. Scroll down the page and click Download in Download Documents area.
      Link SDK Development

    Important: The downloaded activation code can not be directly used. Submit the code to the Tuya Ticket System for processing before it can be used.

  5. Refer to the demo in the SDK and documents related to Link SDK development in TuyaOS Link SDK Overview
    and TuyaOS Link SDK Migration to start developing product functions.

This section contains the following topics to help you quickly understand related concepts and how-to guides: