English
English
简体中文
Contact Us
Register
Log In

Get the SDK

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

You can get the Tuya Wi-Fi 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.
GitHub The SDKs are hosted on GitHub. Check out the README and download the required SDK.

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 Wi-Fi 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 use Tuya network modules that are embedded with Tuya standard chips. 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 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 supporting library based on your compiler environment. You can integrate the library into your current SDK and make API 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 CBU 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 select TuyaOS. Select the required module and download the development materials.

Get the SDK