Trace Utilities.
More...
Trace Utilities.
Support for applications to send debug or information messages to debug UART destinations.
Debug trace message destinations.
Used when calling wiced_set_debug_uart().
Enumerator |
---|
WICED_ROUTE_DEBUG_TO_WICED_UART |
< No Traces
Set to WICED UART to send debug strings over the AIROC debug interface
|
WICED_ROUTE_DEBUG_TO_HCI_UART |
Use this to direct the debug traces over HCI UART.
|
WICED_ROUTE_DEBUG_TO_DBG_UART |
Use this to direct the debug traces over debug UART.
|
WICED_ROUTE_DEBUG_TO_PUART |
Use this to direct the debug traces over peripheral UART.
|
void wiced_bt_trace_enable |
( |
void |
| ) |
|
Enables the trace messages to UART for the selected wiced_debug_uart_types_t.
- Parameters
-
- Returns
- void
int wiced_printf |
( |
char * |
buffer, |
|
|
int |
len, |
|
|
|
... |
|
) |
| |
- Parameters
-
[in] | buffer | : Pointer to character buffer |
[in] | len | : Length of character buffer |
- Returns
- void
Specifies the UART to be used for debug traces.
- Parameters
-
[in] | uart | : The UART to be used. |
- Returns
- void
void wiced_trace_array |
( |
const uint8_t * |
p_array, |
|
|
uint16_t |
len |
|
) |
| |
- Parameters
-
[in] | array | : Pointer to array to be printed |
[in] | len | : Length of array to be printed |
- Returns
- void