Microchip® Advanced Software Framework

at_ble_trace.h File Reference
#include "at_ble_api.h"

Macros

#define TRACE_LVL_ALL
 MACRO used to Enable all trace logs. More...
 
#define TRACE_LVL_BUS   (1<<3)
 MACRO used to Enable bytes transferred via bus as logs. More...
 
#define TRACE_LVL_DBG   (1<<2)
 MACRO used to Enable debug logs. More...
 
#define TRACE_LVL_DISABLE   (0)
 MACRO used to Disable all logs. More...
 
#define TRACE_LVL_ERR   (1<<1)
 MACRO used to Enable error logs. More...
 
#define TRACE_LVL_FUN   (1<<4)
 MACRO used to Enable function entry and exit logs. More...
 
#define TRACE_LVL_INFO   (1<<0)
 MACRO used to Enable Info logs. More...
 

Functions

void trace_register_printFn (int(*pf)(const char *_Format,...))
 This function used to set pointer to printing function for logs. More...
 
void trace_set_level (uint8_t lvl)
 Used to set level of tracing logs. More...