Common Bluetooth definitions

API Reference


group gentypes

Common Bluetooth definitions.

Unnamed Group

WICED_BT_TRACE

Debug trace macro.

WICED_BT_TRACE_ARRAY(ptr, len, string)

Debug trace array macro.

WICED_BT_TRACE_CRIT

Error trace array macro.

Unnamed Group

WICED_FALSE

Wiced false.

WICED_TRUE

Wiced true.

FALSE

false

TRUE

true

WICED_BT_STRUCT_PACKED

packed structure

WICED_BT_UNION_PACKED

packed union

WICED_SUPPRESS_WARNINGS(m)

Surpress Warnings.

UNUSED_VARIABLE(x)

Unused Variable.

WICED_MEMCPY(a, b, c)

Wiced Memory copy.

WICED_MEMSET(a, b, c)

Wiced Memory set.

WICED_MEMMOVE(a, b, c)

Wiced Memory move.

WICED_MEMCMP(a, b, c)

Wiced Memory compare.

typedef unsigned int wiced_bool_t

Wiced Boolean.

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.

Return

void

Parameters
  • [in] code: : Exception code

  • [in] msg: : Exception string

  • [in] p_tr: : Pointer to the data (based on the exception)