Ai-Thinker-Open_RTL8710BX_A.../Living_SDK/framework/uOTA/README.md
2020-06-18 22:04:32 +08:00

1.5 KiB
Raw Blame History

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

  1. Differential incremental upgrade;
  2. Dual banker:AB partition upgrade to support rollback to old version;
  3. Secure download channel;
  4. Firmware digital signature verification.
  5. footprint: ROM-->12K18K 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

  1. connect network
netmgr connect ssid passwd
  1. run ota demo
OTA_APP pk dn ds ps

Reference