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

Why custom characteristic can be found using nrf connect mobile app in android but not in IOS?

Hi. I am currently using an nRF52840 DK board and SDK 17.0.2.

I have add a custom characteristic in the heart rate service sample code.

The characteristic is shown on the android phone under the Heart Rate service nRF Connect mobile app.

However, IOS is unable to detect the characteristic.

I require assistance in this issue.

Thank you and appreciate the help. 

Parents
  • Hello,

    Probably your iPhone has cached the BLE services, and hence it doesn't do a service discovery, discovering your new service. You can try to turn off bluetooth completely (from settings->Bluetooth) and wait for about 10 seconds before you turn it back on. Perhaps the iPhone will do a new service discovery because this deletes the cached services. If you have bonded, you should also delete the bonding data on both devices (forget device on iPhone, and erase the flash and reprogram the nRF). 

    This should be sufficient during development. If you need to add a service to an already deployed product, there is a special service called Service Changed, which will tell the phone to do a new service discovery. This is included in the DFU examples, in case you want to add a bootloader in the future.

    Best regards,

    Edvin

  • Hi. Thanks for the information.

    The attribute table is updated in the IOS nRF Connect when I turn off and on the Bluetooth. 

    Thank you on the Device Firmware upgrade. Appreciate it.

Reply Children
No Data
Related