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
If you are using the UART, then yes, you need a terminal program on the PC. E.g. Termite . In "Settings" in Termite you can set the correct Port, baudrate, etc
If you are using the UART, then yes, you need a terminal program on the PC. E.g. Termite . In "Settings" in Termite you can set the correct Port, baudrate, etc