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

ble_app_hrs nrf52832 softdevice ble pca10040 IAR

I am running the ble_app_hrs example and it runs as expected. However, I tried removing one or more of the services from services_init as well as the corresponding advertisement from the array, m_adv_uuids[]. In so doing, the code failed and continuously disconnected and restarted from the beginning. This happened continuously. I tried different variations but it continues to happen.

The reason that I am trying to remove services is that I used the ble_app_hrs example as a guide to implement my own services and characteristics. I was able to create a proprietary service and one characteristic in addition to the hrs, bas, and sensor location services. After doing so, I tried to remove the hrs, bas, and sensor location services but I ran into this problem.

So, I started with the examples as given and proceeded to remove the services without adding my own services. The same thing happened.

BTW: I also tried erasing the SoftDevice and reprogamming it. Still the same problem.

Thank You