About DM_LOG, DM_ERR, I define ENABLE_DEBUG_LOG_SUPPORT in Options for Target->C/C++->Define, the "string" will be sent over UART. But ADV_LOG still does not work,How should I configure and use it when debugging?
About DM_LOG, DM_ERR, I define ENABLE_DEBUG_LOG_SUPPORT in Options for Target->C/C++->Define, the "string" will be sent over UART. But ADV_LOG still does not work,How should I configure and use it when debugging?
Hi,
The ADV_LOG macro in ble_advertising.c is empty. If you need the ADV_LOG, you should point it to app_trace_log.
Code snippet:
#include "app_trace.h"
#define ADV_LOG app_trace_log
Great, I found that using Segger RTT debugging much better than the serial port!
Great, I found that using Segger RTT debugging much better than the serial port!