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

Issues connecting to Nordic BLE UART service peripheral

Hi All,

I'm facing unstability in connecting my Central BLE device based on bluez to connect to Nordic Uart service based device.

For every 10th or 11th connection , it gives Connection Refused or Characteristics Read failed or Characteristics Write failed ??

I was debugging my Central device then i found out the issue is with Peripheral device as I've tried the same with Nordic App from Mobile and faces the same connection issue with App as well.

Attached is the main.c main.2.c , please have a look and let me know if there are any issues with the UART Service.

Thanks Brajesh

Parents
  • Hi Brajesh.

    First look, use the app_uart library instead of simple UART. The app_uart library is use e.g. in the simple_adc example in nRF51 SDK 10.0.0. The simple UART is known to cause problems, so remove that is what I would first suggest.

    If using app_uart does not solve the issue, can you inform me what hardware/kit you are using, what softdevice and what version and what SDK version. If possible, a complete project would be better so I could reproduce the issue on my side.

Reply
  • Hi Brajesh.

    First look, use the app_uart library instead of simple UART. The app_uart library is use e.g. in the simple_adc example in nRF51 SDK 10.0.0. The simple UART is known to cause problems, so remove that is what I would first suggest.

    If using app_uart does not solve the issue, can you inform me what hardware/kit you are using, what softdevice and what version and what SDK version. If possible, a complete project would be better so I could reproduce the issue on my side.

Children
No Data
Related