This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problems with SDK Example UART/Serial port emulation and Segger RTT console

Example Project:  UART/Serial Port Emulation over BLE

My Environment: Segger Embedded Studio v3.52, Nordic SDK 15.2, Soft Device s132, nRF52 DK, nRF Toolkit for iOS

It was easy to get the example code to build and run on the target. I can connect to the target with nRF Toolkit and use the UART tool to send text from the phone to the RTT console on SDS.  But I can't send any text from the RTT console back to the phone.  I assume the RTT console is a two-way interface right?  I just enter some text into the RTT console and hit <enter> but I see nothing in the UART app log on the phone.

NOTE:  The default settings for the project are setting the log level to [info] and this caused all messages to get dropped.  I had to change NRF_LOG_DEFAULT_LEVEL to 4 (debug) to get this to work.

Related