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 Children
  • Hi, Jorgen:

      Here are two screenshots from SES debug and nRF Tool Box log (only the initial part in screenshot)

    It seems there are repeated reports "Error (0x81) GATT INTERNAL ERROR", how this can it be fixed.

      I tried to run old SDK 14.1.0 yesterday after reading Mark's blog 5 months ago, he has the same problem as I have. The 14.1.0 contains the same bug as we already changed, wonder why Mark does not had the same problem!

      Will try an old nRF Connect later and let you know outcome. Thank you for help!

Related