Bluetooth Host Stack Library
Common Bluetooth definitions

General Description

Common Bluetooth definitions.

API Reference

 AIROC Bluetooth Types
 AIROC Bluetooth Types.
 
 AIROC result
  Result types See wiced_result.h
 
#define WICED_BT_TRACE   BTU_trace_debug
 Debug trace macro. More...
 
#define WICED_BT_TRACE_ARRAY(ptr, len, string)   WICED_BT_TRACE("%s %A",string,ptr,len);
 Debug trace array macro. More...
 
#define WICED_BT_TRACE_CRIT   BTU_trace_error
 Error trace array macro. More...
 
#define WICED_FALSE   0
 AIROC false. More...
 
#define WICED_TRUE   1
 AIROC true. More...
 
#define FALSE   0
 false More...
 
#define TRUE   1
 true More...
 
#define WICED_BT_STRUCT_PACKED   struct
 packed structure More...
 
#define WICED_BT_UNION_PACKED   union
 packed union More...
 
#define WICED_SUPPRESS_WARNINGS(m)   if((m)){;}
 Surpress Warnings. More...
 
#define UNUSED_VARIABLE(x)   /*@-noeffect@*/ ( (void)(x) ) /*@+noeffect@*/
 Unused Variable. More...
 
#define WICED_MEMCPY(a, b, c)   memcpy((void*)(a), (const void*)(b), c)
 AIROC Memory copy. More...
 
#define WICED_MEMSET(a, b, c)   memset((void*)(a), b, c)
 AIROC Memory set. More...
 
#define WICED_MEMMOVE(a, b, c)   memmove((void*)(a), (const void*)(b), c)
 AIROC Memory move. More...
 
#define WICED_MEMCMP(a, b, c)   memcmp((void*)(a), (const void*)(b), c)
 AIROC Memory compare. More...
 
typedef unsigned int wiced_bool_t
 AIROC Boolean. More...
 
typedef void(* pf_wiced_exception) (uint16_t code, char *msg, void *ptr)
 Exception callback : More...
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

false

◆ TRUE

#define TRUE   1

true

◆ UNUSED_VARIABLE

#define UNUSED_VARIABLE (   x)    /*@-noeffect@*/ ( (void)(x) ) /*@+noeffect@*/

Unused Variable.

◆ WICED_BT_STRUCT_PACKED

#define WICED_BT_STRUCT_PACKED   struct

packed structure

◆ WICED_BT_TRACE

#define WICED_BT_TRACE   BTU_trace_debug

Debug trace macro.

◆ WICED_BT_TRACE_ARRAY

#define WICED_BT_TRACE_ARRAY (   ptr,
  len,
  string 
)    WICED_BT_TRACE("%s %A",string,ptr,len);

Debug trace array macro.

◆ WICED_BT_TRACE_CRIT

#define WICED_BT_TRACE_CRIT   BTU_trace_error

Error trace array macro.

◆ WICED_BT_UNION_PACKED

#define WICED_BT_UNION_PACKED   union

packed union

◆ WICED_FALSE

#define WICED_FALSE   0

AIROC false.

◆ WICED_MEMCMP

#define WICED_MEMCMP (   a,
  b,
 
)    memcmp((void*)(a), (const void*)(b), c)

AIROC Memory compare.

◆ WICED_MEMCPY

#define WICED_MEMCPY (   a,
  b,
 
)    memcpy((void*)(a), (const void*)(b), c)

AIROC Memory copy.

◆ WICED_MEMMOVE

#define WICED_MEMMOVE (   a,
  b,
 
)    memmove((void*)(a), (const void*)(b), c)

AIROC Memory move.

◆ WICED_MEMSET

#define WICED_MEMSET (   a,
  b,
 
)    memset((void*)(a), b, c)

AIROC Memory set.

◆ WICED_SUPPRESS_WARNINGS

#define WICED_SUPPRESS_WARNINGS (   m)    if((m)){;}

Surpress Warnings.

◆ WICED_TRUE

#define WICED_TRUE   1

AIROC true.

Typedef Documentation

◆ pf_wiced_exception

typedef void(* pf_wiced_exception) (uint16_t code, char *msg, void *ptr)

Exception callback :

Called by stack in case of unhandled exceptions and critical errors.

Parameters
[in]code: Exception code
[in]msg: Exception string
[in]p_tr: Pointer to the data (based on the exception)
Returns
void

◆ wiced_bool_t

typedef unsigned int wiced_bool_t

AIROC Boolean.