mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-06 04:15:24 +00:00
1.5 KiB
1.5 KiB
Contents
OTA
├── hal
├── ota_service.c
├── src
│ ├── 2nd_boot
│ ├── device
│ ├── download
│ ├── transport
│ └── verify
└── aos.mk
Introduction
An over-the-air update is the wireless delivery of new software or data to smart devices, especially IoT devices. Wireless carriers and OEMs typically use over-the-air (OTA) updates to deploy the new operating systems and the software app to these devices.
Features
- Differential incremental upgrade;
- Dual banker:AB partition upgrade to support rollback to old version;
- Secure download channel;
- Firmware digital signature verification.
- footprint: ROM-->12K
18K RAM: 3K8K
Dependencies
Linkkit MQTT channel Linkkit CoAP channel
API
User service APIs:
/*OTA export service APIs*/
int ota_service_init(ota_service_t* ctx);
int ota_service_deinit(ota_service_t* ctx);
for sample code please check otaapp.
RTOS build
cd ROOT DIR;
aos make otaapp@board;
run CLI CMDs
- connect network
netmgr connect ssid passwd
- run ota demo
OTA_APP pk dn ds ps