LTE library for LTE firmware update. More...
Go to the source code of this file.
Macros | |
#define | EXTERN extern "C" |
Functions | |
Functions | |
int | ltefwupdate_initialize (FAR const char *initial_data, int len) |
int | ltefwupdate_injectrest (FAR const char *rest_data, int len) |
int | ltefwupdate_injected_datasize (void) |
int | ltefwupdate_execute (void) |
int | ltefwupdate_result (void) |
LTE library for LTE firmware update.
API call type
Sync API |
---|
ltefwupdate_initialize |
ltefwupdate_injectrest |
ltefwupdate_injected_datasize |
ltefwupdate_execute |
ltefwupdate_result |
int ltefwupdate_initialize | ( | FAR const char * | initial_data, |
int | len | ||
) |
Initialze injection delta image to LTE modem.
Initialize LTE modem delta image injection with some data of top of delta image.
[in] | initial_data | Pointer to top data of update image. |
[in] | len | Size of initial_data. |
int ltefwupdate_injectrest | ( | FAR const char * | rest_data, |
int | len | ||
) |
Inject rest delta image to LTE modem.
Inject the rest of the delta image following the data injected by the ltefwupdate_initialize() and ltefwupdate_injectrest() functions.
[in] | rest_data | Pointer to rest data of update image. |
[in] | len | Size of rest_data. |
int ltefwupdate_injected_datasize | ( | void | ) |
Get length of injected delta image file.
int ltefwupdate_execute | ( | void | ) |
Execute delta update.
int ltefwupdate_result | ( | void | ) |
Get the result of delta update. Execute this function after LTE_RESTART_MODEM_UPDATED is notified to the callback set by lte_set_report_restart().