Hi Sir
I have used sdk 11.0.0 to develop my bluetooth application but i am facing some issue, so want enable debug logs, but i am not getting where to enable it plz help
Thanks in advance
Hi Sir
I have used sdk 11.0.0 to develop my bluetooth application but i am facing some issue, so want enable debug logs, but i am not getting where to enable it plz help
Thanks in advance
Hi Saagar,
You will have to use the Experimental: UART/RTT logging module to print debug logs with RTT or UART. There are several examples in the SDK that uses this module, see the ble_app_alert_notification, ble_app_gls and ble_app_proximity to mention a few.
Best regards
Bjørn
Hi Bjorn,
Thanks for your replay
Actually i want to enable internal logs like NRF_LOG_ENABLED and NRF_LOG_BACKEND_RTT_ENABLED which can be done in sdk_config.h file for sdk 12.0. and later as shown in below video
https://www.youtube.com/watch?v=uP8RYgYGRvI
But for sdk 11.0.0 there is no sdk_config,h file so where can i enable ?
Thanks in advance
Hi Saagar,
In SDK v11.0.0 we used preprocessor symbols to enable and disable modules, so if you want to enable RTT logging with the nRF Log module you need to add NRF_LOG_USES_RTT=1 to the preprocessor symbols, see screenshot below.