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

ANCS Sample doesn't work after rebooting iOS Device

I'm testing ble_app_ancs experimental sample.

It seems working first connection. But after rebooting iOS Device, or Turn Off/On bluetooth function on iOS Device, ANCS does't work.

After delete bonding both evaluation board and iOS Device, it works again. Is there any infomation about this issue?

Testing Environment

iOS Device iPod touch 5th Gen. iOS 7.0.3 iPhone 5 iOS 7.0.3

BLE Board nrf6310 Rev 1.4 nrf6350 Rev 2.0 PCA10004 Rev 2.1.0 Softdevice 6.0.0-5beta

Parents
  • Hi Ole,

    thank you for your swift response!

    Do you know if/when there may be a work-around?

    When investigating, I thought I may have found the cause slightly earlier on in the chain of events.

    I noticed that in the function ble_ancs_c_on_bondmgmr_evt, when the initial bond is made then event BLE_BONDMNGR_EVT_NEW_BOND occurs.

    However, after Bluetooth is turned off (on the iPhone) and back on again, there is no event BLE_BONDMNGR_EVT_CONN_TO_BONDED_CENTRAL.

    I would have expected the second event to fire after connecting to a previously bonded iPhone.

    This can be easily checked by setting a breakpoint after the second event.

Reply
  • Hi Ole,

    thank you for your swift response!

    Do you know if/when there may be a work-around?

    When investigating, I thought I may have found the cause slightly earlier on in the chain of events.

    I noticed that in the function ble_ancs_c_on_bondmgmr_evt, when the initial bond is made then event BLE_BONDMNGR_EVT_NEW_BOND occurs.

    However, after Bluetooth is turned off (on the iPhone) and back on again, there is no event BLE_BONDMNGR_EVT_CONN_TO_BONDED_CENTRAL.

    I would have expected the second event to fire after connecting to a previously bonded iPhone.

    This can be easily checked by setting a breakpoint after the second event.

Children
No Data
Related