SDK Description

1. SDK Introduction

The JieLi OTA library is implemented based on the JieLi RCSP protocol, which can facilitate customers to quickly access OTA functions through secondary development.

  • As long as the firmware of the JieLi device supports the RCSP protocol, you can use the JieLi OTA App to upgrade.

  • Supports firmware single and double backup OTA process.

2. SDK Framework

digraph framework { rankdir=BT; compound=true; bt_proxy [label="Bluetooth Proxy Layer", shape="Mrecord", style="filled", fillcolor="cornflowerblue", width=5]; rcsp_module [label="RCSP Protocol Layer", shape="Mrecord", style="filled", fillcolor="lightgreen", width=5]; fun_ota [label="OTA Functional Layer", shape="record", style="filled", fillcolor="lightyellow", width=5]; bt_proxy -> rcsp_module [label="Dependency Implementation", dir="both"]; rcsp_module -> fun_ota; }

sdk framework

Important

1. OTA Functional Layer depends on RCSP Protocol implementation, RCSP Protocol depends on Bluetooth Proxy Layer implementation
2. Users must implement the methods of Bluetooth Proxy Layer, implement transparent transmission of device status and data, implement send data, etc.
3. Users can implement the built-in device reconnection mechanism by implementing Connect Device and Disconnect Device.