WE310F5  39.00.000
m2mb_fwup.h
Go to the documentation of this file.
1 /*===============================================================================================*/
2 /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
24 /* GLOBAL DECLARATIONS ==========================================================================*/
25 #ifndef M2MB_FWUP_API_H
26 #define M2MB_FWUP_API_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
56 /*-----------------------------------------------------------------------------------------------*/
57 
62 /*-----------------------------------------------------------------------------------------------*/
63 
64 /*===============================================================================================*/
65 
66 /* Global typedefs ==============================================================================*/
67 
74 {
78 
85 typedef enum M2MB_FWUP_DATA_FLAG
86 {
91 
99 {
195 typedef VOID (*M2MB_FWUP_USER_CB_T)(void *user_ctx, M2MB_FWUP_STATUS_CODE_T resp_code);
196 
197 /* External variables ===========================================================================*/
198 
199 /* External functions ===========================================================================*/
200 
201 /* Global functions =============================================================================*/
202 
203 /*-----------------------------------------------------------------------------------------------*/
204 
238 /*-----------------------------------------------------------------------------------------------*/
240 
241 /*-----------------------------------------------------------------------------------------------*/
242 
294 /*-----------------------------------------------------------------------------------------------*/
295 M2MB_STATUS_T m2mb_fwup_start( M2MB_FWUP_USER_CB_T user_cb, void *user_cb_ctx );
296 
297 /*-----------------------------------------------------------------------------------------------*/
298 
379 /*-----------------------------------------------------------------------------------------------*/
381  M2MB_FWUP_DATA_FLAG_T flag );
382 
383 /*-----------------------------------------------------------------------------------------------*/
384 
426 /*-----------------------------------------------------------------------------------------------*/
427 UINT8 m2mb_fwup_get_active_fwd(UINT32 *fwd_boot_type, UINT32 *valid_fwd);
428 
429 /*-----------------------------------------------------------------------------------------------*/
430 
513 /*-----------------------------------------------------------------------------------------------*/
515 
516 /*-----------------------------------------------------------------------------------------------*/
517 
521 /*-----------------------------------------------------------------------------------------------*/
522 
523 #endif
524 
525 
unsigned char UINT8
Definition: m2mb_types.h:86
M2MB_STATUS_T m2mb_fwup_init(UINT32 flags)
FWUP module initialization.
M2MB_FWUP_STATUS_CODE
FWUP operation status enumeration.
Definition: m2mb_fwup.h:98
INT32 M2MB_STATUS_T
Definition: m2mb_status.h:97
void VOID
Definition: m2mb_types.h:74
M2MB_STATUS_T m2mb_fwup_start(M2MB_FWUP_USER_CB_T user_cb, void *user_cb_ctx)
FWUP module start.
M2MB_FWUP_DATA_FLAG
FWUP Data event enumeration.
Definition: m2mb_fwup.h:85
M2MB_STATUS_T m2mb_fwup_process_recv_data(UINT32 data_len, UINT8 *data_ptr, M2MB_FWUP_DATA_FLAG_T flag)
FWUP module process data.
unsigned long int UINT32
Definition: m2mb_types.h:88
M2MB_FWUP_FWD_BOOT_TYPE
FWUP Firmware Boot Type enumeration.
Definition: m2mb_fwup.h:73
enum M2MB_FWUP_STATUS_CODE M2MB_FWUP_STATUS_CODE_T
FWUP operation status enumeration.
UINT8 m2mb_fwup_get_active_fwd(UINT32 *fwd_boot_type, UINT32 *valid_fwd)
FWUP module active firmware information.
VOID(* M2MB_FWUP_USER_CB_T)(void *user_ctx, M2MB_FWUP_STATUS_CODE_T resp_code)
Firmware Upgrade user call back prototype.
Definition: m2mb_fwup.h:195
enum M2MB_FWUP_DATA_FLAG M2MB_FWUP_DATA_FLAG_T
FWUP Data event enumeration.
M2MB_FWUP_STATUS_CODE_T m2mb_fwup_done(UINT32 accept, UINT32 reboot)
FWUP module validate TRIAL image.
enum M2MB_FWUP_FWD_BOOT_TYPE M2MB_FWUP_FWD_BOOT_TYPE_T
FWUP Firmware Boot Type enumeration.