Get the SDK

Last Updated on : 2022-11-24 09:20:22download

You can get the Tuya NB-IoT SDK from two channels, as shown below.

Downloading channels

Channel Description
Tuya IoT Development Platform Create a product on the Tuya IoT Development Platform and complete all the required information. Then, the SDK is provided based on the hardware parameters you configured. This channel is recommended.
Tuya Wind IDE Tuya Wind IDE (integrated development environment) provides comprehensive facilities to developers for TuyaOS development. Installed on Visual Studio Code as an extension, Tuya Wind IDE helps you tailor applications on top of the TuyaOS development framework as needed. You can write code, build projects, flash firmware, and debug applications in one place with ease.

These two channels are official and maintained by Tuya. The SDK you download from the unofficial channels is not guaranteed by Tuya.

Development methods

There are two options for NB-IoT SDK development, namely Tuya standard chip or module based SDK and third-party chip based SDK.

  • Tuya standard chip or module based SDK

    To develop with this SDK, you must choose Tuya standard chip or module. This type of SDK allows you to directly make API calls to develop applications without any hardware adaptations. Tuya’s production management system provides support for flashing the firmware and license to your Tuya network modules. You can upload the firmware on the Tuya IoT Development Platform and Tuya will take care of the rest.

  • Third-party chip based SDK

    This SDK applies to developing with third-party chips. Tuya provides the generic Link SDK. You can integrate the Link SDK into your current system and make interface adaptations before application development. Since Tuya’s production management system does not support flashing on third-party chips, you need to purchase the chip and license on the Tuya IoT Development Platform and flash the firmware and license on your own.

    The third-party chip based SDK is not generally available. To get this type of SDKs, submit a ticket.

Procedure

This section takes the Tuya standard module NE1 as an example to show you how to get the SDK. This procedure also works for the third-party chip based SDK.

Step 1: Create a product

  1. Log in to the Tuya IoT Development Platform. Select a product, choose TuyaOS and then Custom Solution, and complete the required information. For more information, see Create Products.

    Get the SDK

  2. Add standard functions or create custom functions for your product.

    For more information, see Function Definition.

    Get the SDK

Step 2: Download development materials

Go to the third step of Hardware Development and choose TuyaOS. Select the required module. Then, you can download the SDK in the Development Documents area.

Get the SDK