![]() |
WE310F5
39.00.000
|
M2MB base Application framework interface file. More...
Go to the source code of this file.
Data Structures | |
struct | M2MB_AF_NWK_DATA_RECV |
Application framework Network data receive structure. More... | |
struct | M2MB_AF_APP_THREAD_S |
APP thread information. More... | |
struct | M2M_AF_USER_THREAD_DETAILS_S |
Application framework thread details structure. More... | |
struct | M2M_AF_USER_THREAD_CFG_S |
Application framework user thread system configuration. More... | |
struct | M2MB_AF_USER_CFG_S |
Application framework User configuration detail structure. More... | |
#define | M2MB_AF_MAX_USER_THREAD_SUPPORTED 10 |
#define | TEST_START "\r\nEXAMPLE APPLICATION TEST START\r\n" |
#define | TEST_COMPLETE "\r\nEXAMPLE APPLICATION TEST COMPLETE\r\n" |
#define | TEST_COMPLETE_COUNT 5 |
enum | M2MB_AF_NWK_EVENT { M2MB_AF_NWK_DATA_RECEVEID = 1, M2MB_AF_NWK_CONNECTION_CLOSE, M2MB_AF_NWK_NEW_CONNECTION } |
Application framework network event. More... | |
enum | M2MB_AF_DRV_TYPE { M2MB_AF_DRV_TYPE_UART0, M2MB_AF_DRV_TYPE_UART1 } |
Application framework driver type. More... | |
typedef enum M2MB_AF_NWK_EVENT | M2MB_AF_NWK_EVENT_E |
Application framework network event. More... | |
typedef enum M2MB_AF_DRV_TYPE | M2MB_AF_DRV_TYPE_E |
Application framework driver type. More... | |
typedef VOID(* | M2MB_AF_INIT_CB_T) (VOID *user_ctx, M2MB_PROFILE_EVENT_T event, M2MB_STATUS_T status, VOID *pData) |
Application framework user init callback function prototype. More... | |
typedef VOID(* | M2MB_AF_DRV_RD_CB_T) (VOID *user_ctx, M2MB_AF_DRV_TYPE_E module_type, VOID *pData, UINT32 len) |
Application framework Driver read callback function prototype. More... | |
typedef struct M2MB_AF_NWK_DATA_RECV | M2MB_AF_NWK_DATA_RECV_T |
Application framework Network data receive structure. More... | |
typedef VOID(* | M2MB_AF_NWK_EV_CB_T) (VOID *user_ctx, UINT32 sd, M2MB_AF_NWK_EVENT_E ev, VOID *pData) |
Application framework Network event callback function prototype. More... | |
typedef struct M2MB_AF_APP_THREAD_S | M2MB_AF_APP_THREAD_T |
APP thread information. More... | |
typedef VOID(* | M2MB_AF_THREAD_PROCESS_T) (VOID *user_ctx, M2MB_AF_APP_THREAD_T *pTCtx, VOID *pMsg) |
Application framework thread message processing function prototype. More... | |
typedef struct M2M_AF_USER_THREAD_DETAILS_S | M2M_AF_USER_THREAD_DETAILS_T |
Application framework thread details structure. More... | |
typedef struct M2M_AF_USER_THREAD_CFG_S | M2M_AF_USER_THREAD_CFG_T |
Application framework user thread system configuration. More... | |
typedef struct M2MB_AF_USER_CFG_S | M2MB_AF_USER_CFG_T |
Application framework User configuration detail structure. More... | |
VOID | m2mb_af_dbg_print (M2MB_SYSTEM_CFG_T *pSystemCfg) |
m2mb_af_dbg_print is called to print the Access point SSID and channel information based on WLAN running mode. More... | |
INT32 | m2mb_af_udp_soc_init (M2MB_UDP_CFG_T *udp_cfg) |
m2mb_af_udp_soc_init is called to initialize UDP socket creation. More... | |
INT32 | m2mb_af_tcp_soc_init (M2MB_T_CFG_T *tcp_cfg) |
m2mb_af_tcp_soc_init is called to initialize TCP socket creation. More... | |
INT32 | m2mb_af_start (M2MB_AF_USER_CFG_T *pApp_cfg, const M2MB_SYSTEM_CFG_T *pSystem_cfg) |
m2mb_af_start is called to start the application framework. More... | |
M2MB base Application framework interface file.
we866e4/epl/inc/modules/m2mb_app_framework.h
The Application framework provides the user a basic initialization based on the user setting. User does not have to write the initialization routine and handle the basic read operation from either driver or the network.
Definition in file m2mb_app_framework.h.