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

Peripheral NUS Service not advertising TX/RX characteristics when on 52840

Hi,

I have been using the NUS on nRF52832 DVK with no issues, however, when I migrated to the nRF52840 DVK and a custom board based on the 52840, the NUS characteristics do not show up via iOS nRF Connect app.

On the app, the DVK shows up as advertising the Nordic UART service but there are no corresponding TX/RX characteristics.

The code running on the DVK is an unmodified ble_app_uart sample app from the nRF5_SDK_17.0.2_d674dde running the S140 Soft device.

Just to be clear: compiling app for 52832/S132 works as expected, compiling same app for 52840/S140 and only NUS service is advertised and not characteristics.

thanks....

Nick

Parents
  • Hi Nick,

    The code running on the DVK is an unmodified ble_app_uart sample app from the nRF5_SDK_17.0.2_d674dde running the S140 Soft device.

    The example advertises the NUS UUID but the Tx/Rx characteristics are nod advertised. Do you mean that you do not see them when doing a service discovery? Please clarify.

    The NUS example should work out of the box on the DK, but a typical cause of confusion is caching on the iOS side. That should not be a problem after connecting with nRF Connect and doing service discovery, though.

    Perhaps you can elaborate on the issue and show screenshots of nRF Connect app showing the missing characteristics? Also, can you check with for instance nRF Connect for desktop or similar, to verify that the issue is not with the nRF itself? 

    Just to be clear: compiling app for 52832/S132 works as expected, compiling same app for 52840/S140 and only NUS service is advertised and not characteristics.

    This is exactly the same example, just with different SoftDevice and nRF IC, so it should behave the same. Can you double check that you have not made any accidental changes in the code you test on the nRF52840?

  • Einar,

    Thanks for the response.

    I'm using a few iOS apps as well as a custom app so I'm pretty sure the NUS RX/TX characteristics are not being advertised on 52840.  If I change the advertised name, the apps pick this up so I doubt caching is the issue...

    Screenshot 2020-12-10 at 11.32.18.png

    Screen shot of iOS app shows NUS service but no corresponding NUS characteristics.  I did try upping the 

    NRF_SDH_BLE_VS_UUID_COUNT from 1 to 3 but it did not make any difference.  When I switch boards, the code is the same so recompiling should be identical except for board differences...

    Nick
  • Here is the same code recompiled and running on the 52832.

    Screenshot 2020-12-10 at 11.46.09.png

Reply Children
No Data
Related