![]() |
Airoha M0 BLE API
1.0.5.4
|
Typedefs | |
| typedef void(* | OTA_STATUS_CB) (OTA_STATUS_ENUM status) |
| DFU OTA service status changing callback function. | |
Enumerations | |
| enum | OTA_STATUS_ENUM |
| device firmware update status. SDK user may handle state changing event in callback function OTA_STATUS_CB. | |
| enum | OTA_PERMISSION_ENUM |
| DFU OTA permission. SDK user may change the permission with API at any time. | |
Functions | |
| void | OTA_init (OTA_STATUS_CB cb) |
| Initialization function of DFU OTA service defined by AIROHA. More... | |
| void | OTA_change_permission (OTA_PERMISSION_ENUM sel) |
| Change OTA service permission immediately. SDK user may decide whether OTA is permitted under certain circumstances such as low battery level or connecting with particular host. More... | |
| void OTA_init | ( | OTA_STATUS_CB | cb | ) |
Initialization function of DFU OTA service defined by AIROHA.
| cb | OTA_STATUS_CB. |
| void OTA_change_permission | ( | OTA_PERMISSION_ENUM | sel | ) |
Change OTA service permission immediately.
SDK user may decide whether OTA is permitted under certain circumstances such as low battery level or connecting with particular host.
| sel | OTA_PERMISSION_ENUM. |