Hello , I am using sdk12.2 and pca10028. I have implemented rtt viewer so that I dont need uart to debug or to print something. I am using uart to send AT commands to esp8266. I have tested individually and my uart code can send AT commands and I am getting response back. Now I am combining this code with ble_app_uart_c(central ) for scanning nearby ble devices.
scan function - New Text Document (3).txt.
Uart_loopback_test - New Text Document (3).txt
Uart_terminal - uart_terminal.PNG
RTT_Terminal - rtt_terminal.PNG
main.c - New Text Document (3).txt