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

NRF51822 AND ANCS

I have some question about ANCS ,when trun off/on bluetooth function on ios device ,or rebooting iOS Device ,ANCS does not work.i program ANCS example again,and then ,reconnect the ios device ,ANCS can not work normally as well, ANCS can work normally unless i make the following several steps: 1、erase flash 2、program soft device 3、program ANCS example 4、connect the ios device where is the problem?some people said that the problem is due to the implementation of Apple.therefore, i want to know whether i can solve this problem by modifying code of application program.please give me some suggestion. ios device ios 7.0 BLE Board nrf6310 Rev 1.4 nrf6350 Rev 2.0 PCA10005Rev 2.2.0

best regards larry

  • This has already been discussed at length here, so please take a look at it. In summary, you must rewrite the CCCDs after Bluetooth has been turned off/on, since iOS seems to forget them on its own.

    Also, if you do an erase all on the nRF51 side, bonding information will be lost, and in this case, you must manually delete bond information also from the phone to make things work again. This is done by selecting the device from Settings, Bluetooth and choosing "Forget this device".

Related