SDK Development Package Introduction
1.1 Development data file structure
apk --- Test APK Folder
├── Test APK
code --- Reference source code project Folder
├── Demo source code project
doc --- Development Documentation Folder
├── ReadMe.txt --- Online Documentation
libs --- Core library Folder
└── jl_bt_ota_V1.11.0-release --- JieLi OTA related
1.2 Demo project structure
com
└── jieli
└── otasdk --- Package Name
├── data --- Data Layer
├── constant --- Constant Definition
└── model --- Data Model
├── tool --- Functional auxiliary layer
├── bluetooth --- Bluetooth Management
├── config --- Function Configuration
├── file --- File Management
└── ota --- OTA function implementation
├── ble --- Simple implementation of BLE connection
├── spp --- Spp connection simple implementation
└── OTAManager.kt --- OTA management implementation
├── ui --- UI Layer
├── base --- Basic UI
├── device --- Device Management Page
├── dialog --- Dialog
├── home --- Home
├── launcher --- Launcher
├── ota --- OTA function page
├── qr_code --- Scan QR code
├── settings --- Settings Page
├── about --- About Page
├── log --- Print log page
└── widget --- Custom Controls
├── util --- Tool Layer
└── MainApplication.kt --- Application entry
1.3 Function Implementation Reference
Important
Bluetooth connection implementation
BLE management implementation, you can refer to
com.jieli.otasdk.tool.ota.ble.BleManagerSPP management implementation, you can refer to
com.jieli.otasdk.tool.ota.spp.SppManager
For OTA function implementation, please refer to
com.jieli.otasdk.tool.ota.OTAManager