WL865E4-P  36.07.001
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 
61 /*-----------------------------------------------------------------------------------------------*/
62 
67 /*-----------------------------------------------------------------------------------------------*/
68 
69 /*===============================================================================================*/
70 
71 /* Global typedefs ==============================================================================*/
72 
79 {
84 
91 typedef enum M2MB_FWUP_DATA_FLAG
92 {
97 
105 {
202 
203 /* External variables ===========================================================================*/
204 
205 /* External functions ===========================================================================*/
206 
207 /* Global functions =============================================================================*/
208 
209 /*-----------------------------------------------------------------------------------------------*/
210 
244 /*-----------------------------------------------------------------------------------------------*/
246 
247 /*-----------------------------------------------------------------------------------------------*/
248 
300 /*-----------------------------------------------------------------------------------------------*/
302 
303 /*-----------------------------------------------------------------------------------------------*/
304 
385 /*-----------------------------------------------------------------------------------------------*/
387  M2MB_FWUP_DATA_FLAG_T flag );
388 
389 /*-----------------------------------------------------------------------------------------------*/
390 
432 /*-----------------------------------------------------------------------------------------------*/
433 UINT8 m2mb_fwup_get_active_fwd(UINT32 *fwd_boot_type, UINT32 *valid_fwd);
434 
435 /*-----------------------------------------------------------------------------------------------*/
436 
519 /*-----------------------------------------------------------------------------------------------*/
521 
522 /*-----------------------------------------------------------------------------------------------*/
523 
527 /*-----------------------------------------------------------------------------------------------*/
528 
529 #endif
530 
531 
unsigned char UINT8
Definition: m2mb_types.h:83
M2MB_FWUP_DATA_FLAG
FWUP Data event enumeration.
Definition: m2mb_fwup.h:91
INT32 M2MB_STATUS_T
Definition: m2mb_status.h:95
enum M2MB_FWUP_FWD_BOOT_TYPE M2MB_FWUP_FWD_BOOT_TYPE_T
FWUP Firmware Boot Type enumeration.
enum M2MB_FWUP_DATA_FLAG M2MB_FWUP_DATA_FLAG_T
FWUP Data event enumeration.
M2MB_FWUP_FWD_BOOT_TYPE
FWUP Firmware Boot Type enumeration.
Definition: m2mb_fwup.h:78
UINT8 m2mb_fwup_get_active_fwd(UINT32 *fwd_boot_type, UINT32 *valid_fwd)
FWUP module active firmware information.
unsigned long int UINT32
Definition: m2mb_types.h:85
M2MB_STATUS_T m2mb_fwup_start(M2MB_FWUP_USER_CB_T user_cb)
FWUP module start.
M2MB_FWUP_STATUS_CODE
FWUP operation status enumeration.
Definition: m2mb_fwup.h:104
void VOID
Definition: m2mb_types.h:72
VOID(* M2MB_FWUP_USER_CB_T)(M2MB_FWUP_STATUS_CODE_T resp_code)
Firmware Upgrade user call back prototype.
Definition: m2mb_fwup.h:201
enum M2MB_FWUP_STATUS_CODE M2MB_FWUP_STATUS_CODE_T
FWUP operation status enumeration.
M2MB_STATUS_T m2mb_fwup_init(UINT32 flags)
FWUP module initialization.
M2MB_STATUS_T m2mb_fwup_process_recv_data(UINT32 data_len, UINT8 *data_ptr, M2MB_FWUP_DATA_FLAG_T flag)
FWUP module process data.
M2MB_FWUP_STATUS_CODE_T m2mb_fwup_done(UINT32 accept, UINT32 reboot)
FWUP module validate TRIAL image.