XDK API  3.6.0
Documentation
Macros | Typedefs | Enumerations

SimpleLink User Events. More...

+ Collaboration diagram for User Events:

Macros

#define __CONCAT2(x, y)   __CONCAT(x,y)
 
#define FALSE   (0)
 
#define NULL   (0)
 
#define OK   (0)
 
#define SL_DRIVER_VERSION   "1.0.1.11"
 
#define SL_INC_ARG_CHECK
 
#define SL_INC_EXT_API
 
#define SL_INC_FS_PKG
 
#define SL_INC_NET_APP_PKG
 
#define SL_INC_NET_CFG_PKG
 
#define SL_INC_SET_UART_MODE
 
#define SL_INC_SOCK_CLIENT_SIDE_API
 
#define SL_INC_SOCK_RECV_API
 
#define SL_INC_SOCK_SEND_API
 
#define SL_INC_SOCK_SERVER_SIDE_API
 
#define SL_INC_SOCKET_PKG
 
#define SL_INC_WLAN_PKG
 
#define SL_MAJOR_VERSION_NUM   1L
 
#define SL_MAX_SOCKETS   (_u8)(8)
 
#define sl_Memcpy(dest, src, len)   memcpy(dest, src, (size_t)len)
 
#define sl_Memset(addr, val, len)   memset(addr, val, (size_t)len)
 
#define SL_MINOR_VERSION_NUM   0L
 
#define SL_RET_CODE_ABORT   (-6)
 
#define SL_RET_CODE_INVALID_INPUT   (-2)
 
#define SL_RET_CODE_MALLOC_ERROR   (-5)
 
#define SL_RET_CODE_NWP_IF_ERROR   (-4)
 
#define SL_RET_CODE_OK   (0)
 
#define SL_RET_CODE_PROTOCOL_ERROR   (-7)
 
#define SL_RET_CODE_SELF_ERROR   (-3)
 
#define SL_SPAWN_FLAG_FROM_SL_IRQ_HANDLER   (0X1)
 
#define SL_SUB_VERSION_NUM   11L
 
#define SL_VERSION_NUM   1L
 
#define TRUE   (!FALSE)
 

Typedefs

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

Enumerations

enum  _SlEventPropogationStatus_e
 

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

Macro Definition Documentation

#define __CONCAT2 (   x,
 
)    __CONCAT(x,y)
#define FALSE   (0)
#define NULL   (0)
#define OK   (0)
#define SL_DRIVER_VERSION   "1.0.1.11"
#define SL_INC_ARG_CHECK
#define SL_INC_EXT_API
#define SL_INC_FS_PKG
#define SL_INC_NET_APP_PKG
#define SL_INC_NET_CFG_PKG
#define SL_INC_SET_UART_MODE
#define SL_INC_SOCK_CLIENT_SIDE_API
#define SL_INC_SOCK_RECV_API
#define SL_INC_SOCK_SEND_API
#define SL_INC_SOCK_SERVER_SIDE_API
#define SL_INC_SOCKET_PKG
#define SL_INC_WLAN_PKG
#define SL_MAJOR_VERSION_NUM   1L
#define SL_MAX_SOCKETS   (_u8)(8)
#define sl_Memcpy (   dest,
  src,
  len 
)    memcpy(dest, src, (size_t)len)
#define sl_Memset (   addr,
  val,
  len 
)    memset(addr, val, (size_t)len)
#define SL_MINOR_VERSION_NUM   0L
#define SL_RET_CODE_ABORT   (-6)
#define SL_RET_CODE_INVALID_INPUT   (-2)
#define SL_RET_CODE_MALLOC_ERROR   (-5)
#define SL_RET_CODE_NWP_IF_ERROR   (-4)
#define SL_RET_CODE_OK   (0)
#define SL_RET_CODE_PROTOCOL_ERROR   (-7)
#define SL_RET_CODE_SELF_ERROR   (-3)
#define SL_SPAWN_FLAG_FROM_SL_IRQ_HANDLER   (0X1)
#define SL_SUB_VERSION_NUM   11L
#define SL_VERSION_NUM   1L
#define TRUE   (!FALSE)

Typedef Documentation

typedef _u8 _SlArgSize_t
typedef _u16 _SlOpcode_t
typedef short(* _SlSpawnEntryFunc_t)(void *pValue)

Enumeration Type Documentation

Enumerator
EVENT_PROPAGATION_BLOCK 
EVENT_PROPAGATION_CONTINUE 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:50 by doxygen 1.8.8