Get the SDK

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

This topic describes how to get the SDK from the Tuya IoT Development Platform.

Development methods

There are two options for Beacon 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 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 chip AK801 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.

  2. Click Lighting > Strip Lights. Select TuyaOS > Custom Solution.

  3. Complete the required information and select Tuya Beacon as the protocol.
    For more information, see Create Products.

    Get the SDK

  4. On the Function Definition page, add the required standard functions, create custom functions, or enable advanced functions as needed.

    For more information, see Product Functions, Standard Functions, Custom Functions, and Advanced Functions.

    Get the SDK

Step 2: Download development materials

  1. Click the Hardware Development tab.

  2. Select TuyaOS.

  3. Select the desired hardware and complete the required information.
    For more information, see Select and Manage the Firmware Version.

  4. In the Download Documents section, you can download the SDK.

    Get the SDK