Help please, I'm evaluating ble_app_uart (Central/Peripheral) but I don't understand how to disable the echo I have on the RTT USB VCP
When I send data from the UART, I got (PCA10056/10040) the data in both on the RTT USB VCP and on the UART I would like to control separately the UART and the USB VCP.
I would like to be able to use NRF_LOG in parallel, let's say NRF_LOG_RAW_INFO()/NRF_LOG_GETCHAR() for the RTT USB VCP only and printf() for UART.
example: if I do: printf("Hello world"), I got "Hello world" on both the USB/VCP (Segger) and on the PuTTY (from the UART) on the Host
Is there any #define to set (perhaps in sdk_config.h)? Probably a combination of : NRF_LOG_ENABLED,NRF_LOG_BACKEND_SERIAL_USES_UART,NRF_LOG_BACKEND_SERIAL_USES_RTT
1) with the following I got the echo on the RTT(USB/VCP) NRF_LOG_ENABLED=1, NRF_LOG_BACKEND_SERIAL_USES_UART=1, NRF_LOG_BACKEND_SERIAL_USES_RTT=1
2) In the following setting, the printf() outputs the "Hello world" on both the USB/VCP and on the UART PuTTY but the NRL_LOG_RAW_INFO() don't output anything NRF_LOG_ENABLED=1, NRF_LOG_BACKEND_SERIAL_USES_UART=1, NRF_LOG_BACKEND_SERIAL_USES_RTT=0
Thanks in advance