Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_bt_event.h File Reference

This implements the application-thread level event handling for WICED Apps. More...

Data Structures

struct  wiced_app_event_srzn_cb_t
 

Macros

#define WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_HISTORY_SIZE   5
 

Typedefs

typedef enum
wiced_app_event_serialization_failure_code 
wiced_app_event_serialization_failure_code_t
 
typedef void( wiced_app_event_debug_callback_t )(wiced_app_event_serialization_failure_code_t error_code)
 

Enumerations

enum  wiced_bt_internal_events_t { WICED_SERIALIZATION_EVENT = 1 }
 
enum  wiced_app_event_serialization_failure_code {
  WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_INVALID = 0x00, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_NOT_INITIALIZED = 0x10, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_NO_MEMORY = 0x20, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_QUEUE_FULL = 0x21,
  WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_MUTEX_CREATE_FAIL = 0x30, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_MUTEX_GET_FAIL = 0x31, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_MUTEX_PUT_FAIL = 0x32, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_EVENT_SET_FAIL = 0x40,
  WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_EVENT_INVALID_VALUE = 0x41, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_EVENT_QUEUE_ADD_FAIL = 0x50, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_HANDLER_MUTEX_GET_FAIL = 0x60, WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_HANDLER_MUTEX_PUT_FAIL = 0x61,
  WICED_APP_EVENT_SERIALIZATION_FAILURE_CODE_HANDLER_EVENT_SET_FAIL = 0x62
}
 

Functions

wiced_bool_t wiced_app_event_serialize (int(*fn)(void *), void *data)
 
void wiced_app_event_serialization_debug_callback_register (wiced_app_event_debug_callback_t *callback)
 

Detailed Description

This implements the application-thread level event handling for WICED Apps.