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

Device name too short?

When trying out the ble_app_hrs_freertos example in nRF5 SDK 11.0.0-2.alpha_bc3f6a0, I seem to only get 14-character long device name announcements.

This happens when using components/softdevice/s132/hex/s132_nrf52_2.0.0-7.alpha_softdevice.hex.

I haven't had a chance yet to try it with s132_nrf52_1.0.0-3.alpha_softdevice.hex, which I had experience using from the nRF52 SDK 0.9.2.

Parents
  • Hi,

    the only change to the code is changing the #define DEVICE_NAME to:

    #define DEVICE_NAME                          "0123456789abcdefg"                        /**< Name of device. Will be included in the advertising data. */
    

    This is what I see in my Nexus device, I haven't tried setting a longer name than this:

    image description

  • Hmm.

    Unfortunately, I only have access to an nRF52832 DK (PCA10036) and an nRF51422 development dongle (PCA10031), so I'm not sure I can run the Nordic Sniffer firmware here.

    Like I said, the previous version of the SoftDevice did not have this issue. And my Nexus 5 phone (stock 6.0.1, Marshmallow, with February 1, 2016 security patch level) did not have a problem with longer device names.

    My feeling is that the Nordic implementation is at issue here, as I have changed nothing else and if I do put an older SD onto the same nRF52832 chip, everything works fine with longer device names.

    If someone at Nordic could take a look at running the HRM app sample, it'd be greatly appreciated.

Reply
  • Hmm.

    Unfortunately, I only have access to an nRF52832 DK (PCA10036) and an nRF51422 development dongle (PCA10031), so I'm not sure I can run the Nordic Sniffer firmware here.

    Like I said, the previous version of the SoftDevice did not have this issue. And my Nexus 5 phone (stock 6.0.1, Marshmallow, with February 1, 2016 security patch level) did not have a problem with longer device names.

    My feeling is that the Nordic implementation is at issue here, as I have changed nothing else and if I do put an older SD onto the same nRF52832 chip, everything works fine with longer device names.

    If someone at Nordic could take a look at running the HRM app sample, it'd be greatly appreciated.

Children
No Data
Related