Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to run UART/Serial Port Emulation over BLE on SDK v14.2.0?

I try to run UART/Serial Port Emulation over BLE on SDK v14.2.0 with nRF52 DK and nRF Connect on Android phone following link "http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fble_sdk_app_nus_c.html&cp=4_0_1_4_2_0_2". I compile and download example code with softdevice S132, the phone detect Nordic-Uart, and connected, but nothing more than that, if I try to send something, BLE will disconnected, even it will be re-connected if requested. I run Tera Term on PC, it shows Nordic-UART, but does not show anymore thing, no response to keyboard. There are some code displayed in this link, they are said added to be added in softdevice, it is not clear that they are already added and I do not have to add them in again, if that is the case, why they are displayed here. If not added, where they should be added, in main.c or ble_nus.c? Please help!

Parents Reply
  • Good morning, Jorgen. Thank you for help!

    I re-test it by compiling in release mode, the error does not appear. But nRF UART in my  phone shows " The device does not support UART, disconnected", here is screenshot of my device, it is Android 5.1.1. I try nRF Connect, it works with other examples like Heart and Blinky, but cannot connect to UART emulator in client mode, in Server tab, it could show two generic access as shown in screenshot 2 as follows:

       

     What is phone OS requirements for nRF URAT V2.0? I remember nRF Connect works in Android 5, am I right? Any other phone app available for me to try?

    I  also try desk version of nRF Connect, it responses cannot find COM port, Tera Term can find and open the com port, why nRF Connect cannot?

Children
No Data
Related