![]() |
WE310F5
39.00.000
|
This file contains the public APIs and structures to facilitate firmware upgrade via UART using XFP protocol. More...
Go to the source code of this file.
#define | XFP_OPERATION_IN_PROGRESS 0 |
#define | XFP_OPERATION_BOOTCHARS_DETECTED 1 |
#define | XFP_OPERATION_DONE 2 |
#define | XFP_OPERATION_FAILED 3 |
typedef M2MB_OS_RESULT_E(* | xfp_io_write) (UINT8 *p, UINT32 length) |
IO write callback for XFP. More... | |
typedef VOID(* | fwup_xfp_user_cb) (UINT32 response_code) |
This function prototype is Firmware Upgrade callback for XFP user. More... | |
INT32 | m2mb_xfp_open (xfp_io_write io_write_cb, M2MB_FWUP_USER_CB_T user_cb, void *user_cb_ctx) |
m2mb_xfp_init is called to initialize XFP module. More... | |
INT32 | m2mb_xfp_io_read (uint8_t *buff, uint32_t size) |
m2mb_xfp_io_read reads the XFP data sent by the XFP tool. More... | |
This file contains the public APIs and structures to facilitate firmware upgrade via UART using XFP protocol.
we866e4/epl/inc/modules/m2mb_xfp.h
XFP is the protocol to be followed to upgrade firmware of the device through UART.
Definition in file m2mb_xfp.h.