SimpleLink Host Driver  1.0.0.1
 All Data Structures Functions Variables Groups Pages
UserEvents

Macros

#define SL_DRIVER_VERSION   "1.0.0.1"
 
#define SL_MAJOR_VERSION_NUM   1L
 
#define SL_MINOR_VERSION_NUM   0L
 
#define SL_VERSION_NUM   0L
 
#define SL_SUB_VERSION_NUM   1L
 
#define SL_RET_CODE_OK   (0)
 
#define SL_RET_CODE_INVALID_INPUT   (-2)
 
#define SL_RET_CODE_SELF_ERROR   (-3)
 
#define SL_RET_CODE_NWP_IF_ERROR   (-4)
 
#define SL_RET_CODE_MALLOC_ERROR   (-5)
 
#define sl_Memcpy   memcpy
 
#define sl_Memset   memset
 
#define sl_SyncObjClear(pObj)   sl_SyncObjWait(pObj,SL_OS_NO_WAIT)
 
#define SL_MAX_SOCKETS   (8)
 
#define NULL   (0)
 
#define FALSE   (0)
 
#define TRUE   (!FALSE)
 
#define OK   (0)
 
#define _u8   unsigned char
 
#define _i8   signed char
 
#define _u16   unsigned short
 
#define _i16   signed short
 
#define _u32   unsigned long
 
#define _i32   signed long
 
#define _volatile   volatile
 
#define _const   const
 

Typedefs

typedef void(* _SlSpawnEntryFunc_t )(void *pValue)
 
typedef _u16 _SlOpcode_t
 
typedef _u8 _SlArgSize_t
 
typedef _i16 _SlDataSize_t
 
typedef _i16 _SlReturnVal_t
 

Detailed Description

Attention
Async event activation notes Function prototypes for event callback handlers Event handler function names should be defined in the user.h file e.g. "#define sl_WlanEvtHdlr SLWlanEventHandler" Indicates all WLAN events are handled by User func "SLWlanEventHandler" Important notes:
  1. Event handlers cannot activate another SimpleLink API from the event's context
  2. Event's data is valid during event's context. Any application data which is required for the user application should be copied or marked into user's variables
  3. It is not recommended to delay the execution of the event callback handler