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

nRF51822 connection issue

Hi support team, We met an issue for connecting our device built in nRF51822 to Android device.

The nRF51822 uses below firmware program:

  • nRF5_SDK_12.3.0_d7731ad
  • s130_nrf51_2.0.1_softdevice The service we use is UART.

For using nRF Connect app. sometimes this app connects to device but gets unknown UUID service, and few seconds later, the app fixes the connection error and return to OK state.

For nRF Toolbox app, it will appear the error message "The device does not have required services." and never can get connection with the nRF 51822. Below is the screen shot: files.slack.com/.../screenshot_2017-06-14-10-44-24_1024.jpg

We have tested several mobile phones and some of them have this issue, the Sony, Samsung, Huawei and HTC is OK, but the Asus and Xiaomi has this issue. The Android OS version we tested is from version 4 to 7. It looks this issue has something to do with the phone manufacture, not the Android OS version.

This annoy us and our customer, it there any way we miss that can correct the error? Is there information you want that can confirm the cause of this issue?

Best Regards, David Huang

Parents
  • I can see in the screenshot that you are not using the NUS_BASE_UUID, which is:

    {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}

    Your last value was 55534243 instead of 24DCCA9E as in our description. This explain why the nRFToolbox disconnect and saying that "The device does not have required services."

    If you want you can modify the UUID, but you need to update that in the nRFToolbox also.

    This also explain why you see unknown service in nRFConnect, simply because the UUID is not recognizable.

Reply
  • I can see in the screenshot that you are not using the NUS_BASE_UUID, which is:

    {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}

    Your last value was 55534243 instead of 24DCCA9E as in our description. This explain why the nRFToolbox disconnect and saying that "The device does not have required services."

    If you want you can modify the UUID, but you need to update that in the nRFToolbox also.

    This also explain why you see unknown service in nRFConnect, simply because the UUID is not recognizable.

Children
No Data
Related