The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
LLSync SDK provides an LLSync protocol access solution, connecting the data link of BLE device - App - IoT Explorer or BLE device - gateway device - IoT Explorer, making it convenient for users to quickly integrate BLE devices into IoT Explorer. Users can create products on IoT Explorer and control BLE devices by performing data template operations through TencentCloud API.
SDK Acquisition
The SDK is hosted on Github. You can access Github to download the latest version of the device-side LLSync SDK.
Software Architecture
BLE devices can connect to mobile apps or gateway devices through the LLSync protocol and access IoT Explorer through the mobile App or gateway device. See the following diagram for the structure diagram of the LLSync SDK:
The SDK is designed into three layers, from top to bottom, namely the application layer, the LLSync core layer, and the HAL porting layer.
HAL Porting Layer: LLSync SDK needs to adapt to device hardware and BLE protocol stack. Users need to port and adapt to different devices and BLE protocol stacks.
LLSync core component: Defines the communication protocol between BLE devices and mobile apps or gateway devices, realizes identity verification, data parsing and other features, which users generally can use without modification.
Application layer: LLSync SDK provides operation functions for data templates. Users need to make specific implementations according to usage scenarios.
Directory Structure
qcloud_iot_explorer_ble
├─config # Configuration file
├─docs # Protocol documentation
├─inc # External header file
├─scripts # Script directory
│ ├─interpret_json_dt # JSON text conversion to C code
│ ├─config # ini file
│ ├─src # Script file
├─dt_fixed_content # Fixed content in C code, no conversion needed
└─src # Core code of LLSync, generally no modification required by user