Bluetooth Device Connection

Last Updated on : 2022-11-24 09:19:56download

Bluetooth SDK is built on top of the TuyaOS and designed for developing smart Bluetooth products. The SDK includes a host of features and functions to help you develop easily, including device pairing, upstream and downstream communication, production test, authorization, and OTA updates. You do not need to take care of feature implementation for different Bluetooth chip platforms. Just working on the standard APIs, you can connect your products to the Tuya IoT Platform and make them IoT-enabled.

Advantages

To make your development much simpler, we have made adaptations to popular Bluetooth chip platforms and provided chip platform-specific network modules. With a specific SDK and Tuya’s network modules, you can focus on writing application code instead of spending time on the required infrastructure.

SDK types

The Bluetooth SDK has two types depending on the adaptation level to the chip platforms.

SDK name Port and Adaptation Application scope Description
Bluetooth SDK Required Third-party chip Tuya provides you with a library based on your chip platform, compiler, and compilation options. You can integrate this library into the SDK of your chip platform to make hardware adaptations. This way, you can develop the application code.
Bluetooth chip SDK Not required Tuya standard chip The SDK has been adapted for specific chip platforms. Developing with Tuya’s network module integrated with corresponding chips, you can directly work on the application code without any adaptation operation.

Tuya Bluetooth SDK supports Tuya standard chip and third-party chip. For more information, see Hardware Support.

SDK features

  • Cross-platform: The hardware abstraction layer is abstracted into the SDK. Standard APIs are provided to support integration with different Bluetooth chip platforms.
  • Safe and reliable: Our proven SDK provides stable performance. All communication data and device information are encrypted to secure your IoT deployment.
  • A broad range of components: The SDK can enable device pairing, upstream and downstream communication, production test, authorization, and OTA firmware updates. Directly call APIs to implement all these features to reduce your development work.

Memory consumption

The basic Tuya SDK takes up 32K Flash and 8K RAM memory space, and the memory consumption of the Bluetooth chip SDK varies depending on the original SDK consumption and application functionality of the different chip platforms. For more information, see Hardware Support.