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

BLE connection problem

Hi,

I'm using sdk12.3.0 ble_app_uart.

My problem is BLE connection.

Sometimes(almost 50%)I tried to connect BLE but fail and I have to connect again.

I don't know why.

This image is messages that I captured when connection failed.

What is the problem?

Thank you for reading my question!

image description

Parents
  • I found out that it's not android side problem. Error occurs at BLE module. but it's not the error in nrf_error.h. Something else. But I don't know error code because SEGGER_RTT_printf() function is not working. only SEGGER_RTT_WriteString() works. So, I checked one by one using SEGGER_RTT_WriteString() And I think this error can be related with UART. How can I debug this? Thanks for reading my question.

Reply
  • I found out that it's not android side problem. Error occurs at BLE module. but it's not the error in nrf_error.h. Something else. But I don't know error code because SEGGER_RTT_printf() function is not working. only SEGGER_RTT_WriteString() works. So, I checked one by one using SEGGER_RTT_WriteString() And I think this error can be related with UART. How can I debug this? Thanks for reading my question.

Children
No Data
Related