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

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

Data Structures

struct  wiced_app_event_srzn_cb_t
 Structure used in AIROC stack to add callback and data into task queue. More...
 

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
 AIROC APP Event Serialization Failure Code. More...
 
typedef void( wiced_app_event_debug_callback_t )(wiced_app_event_serialization_failure_code_t error_code)
 AIROC Application Event Serialization Handler Debug Callback. More...
 

Enumerations

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
}
 AIROC APP Event Serialization Failure Code. More...
 

Functions

wiced_bool_t wiced_app_event_serialize (int(*fn)(void *), void *data)
 This function lets you serialize a call onto the application thread, which has been instantiated by the AIROC stack and is used to interact with the application in an event-based fashion. More...
 
void wiced_app_event_serialization_debug_callback_register (wiced_app_event_debug_callback_t *callback)
 AIROC Application Event Serialization Handler Debug Callback Register. More...
 

Detailed Description

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