Firmware OTA API¶
Firmware over-the-air update API.
API Reference¶
Header File¶
Source: include/fota.h
#include <fota.h>
Functions¶
-
int fota_start(const char *in_url)¶
Start Firmware Update
- Parameters
in_url – [in] HTTP URL to download firmware
- Returns
0 on success, negative value on error
-
int fota_in_progress(void)¶
Get OTA status
- Returns
Return 1 if FOTA in progress, 0 otherwise
