This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf51822 android uart service disconnect

Hello,

We are working on android UART service and NUS characteristic to receive notification and testing with the custom board with S130 stack acting as a peripheral. We are facing issue in connection with peripheral after connect, we are getting service null and displaying the message Device does not support UART, disconnect on the phone application.

We tried with S110 peripheral UART service application, but no success. But the same application is working with few boards. Can anyone tell me, are we missing any configuration in the android application?

Regards,
Sowmya

  • So the nRF51 firmware is working fine on a few boards? But on some you get this error on the phone? The failing boards always shows the error? Do you have access to sniffer so we can see what is happening on the air?

  • Hi Petter, Yes firmware is working fine on few custom boards and getting error message on few android phones like android v4.4 and 5.0 . I did few testes with nRF_UART application located in SDK and the failing custom board is working fine with the custom firmware and nRF_UART example project is not able to connect with the custom board.

    Yes I looked into the sniffer log and getting CRC error in 1 out of 10 advertise packets for the custom board with custom firmware and also with nRF_UART example project.

  • If the unmodified ble_app_uart works on your custom boards, I don't think the problem is with the Android application, but more likely with the modified firmware. Exacly what the problem is difficult to pinpoint. A sniffer trace of the connection (not advertising) would be helpful. Or maybe you can upload your complete project so I can test it here? Please let me know what SDK and SoftDevice I should use. If it is project is private you can add a case on your MyPage at nordicsemi.com, and we can handle it there.

  • We are also seeing weird behaviour of the firmware and android applications. We have created a case and are following. Thank you for the reply.

Related