Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
AIROC Trace Utils

Trace Utilities. More...

Macros

#define WICED_SHIM_TRACE_ENABLE
 
#define WICED_SHIM_TRACE(...)   BTU_trace_debug(__VA_ARGS__)
 
#define WICED_BT_TRACE   BTU_trace_debug
 Debug trace macro.
 
#define WICED_BT_TRACE_ARRAY(ptr, len, string)   WICED_BT_TRACE("%s %A",string,ptr,len);
 Debug trace array macro.
 
#define WICED_BT_TRACE_CRIT   BTU_trace_error
 Error trace array macro.
 

Enumerations

enum  wiced_debug_uart_types_t {
  WICED_ROUTE_DEBUG_NONE = 0x00, WICED_ROUTE_DEBUG_TO_WICED_UART, WICED_ROUTE_DEBUG_TO_HCI_UART, WICED_ROUTE_DEBUG_TO_DBG_UART,
  WICED_ROUTE_DEBUG_TO_PUART
}
 Debug UARTs. More...
 

Functions

void wiced_bt_trace_enable (void)
 
void wiced_set_debug_uart (wiced_debug_uart_types_t uart)
 Function wiced_set_debug_uart. More...
 
void BTU_trace_debug (const char *p_fmt,...)
 
void BTU_trace_error (const char *p_fmt,...)
 

Detailed Description

Trace Utilities.

Support for applications to send debug or information messages to debug UART destinations.

Enumeration Type Documentation

Debug UARTs.

Used when calling wiced_set_debug_uart.

Enumerator
WICED_ROUTE_DEBUG_NONE 

No traces.

WICED_ROUTE_DEBUG_TO_WICED_UART 

send debug strings in formatted WICED HCI messages over HCI UART to ClientControl or MCU

WICED_ROUTE_DEBUG_TO_HCI_UART 

send debug strings as plain text to HCI UART, used by default if wiced_set_debug_uart() not called

WICED_ROUTE_DEBUG_TO_DBG_UART 

Deprecated.

WICED_ROUTE_DEBUG_TO_PUART 

send debug strings as plain text to the peripheral uart (PUART)

Function Documentation

void wiced_set_debug_uart ( wiced_debug_uart_types_t  uart)

Function wiced_set_debug_uart.

To specify the UART to be used for the debug traces

Parameters
[in]uart: UART to be used
Returns
void