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,

    I just changed the number of BLE_BONDMNGR_MAX_BONDED_CENTRALS to 2. In this case, shouldn't I be able to handle bonding info of two iOS devices? But I am not able to.

    Now, another workaround I did is And I changed this piece of code in ble_bondmngr.c

    if (m_centrals_in_db_count >= BLE_BONDMNGR_MAX_BONDED_CENTRALS)
    {
    

    // return NRF_ERROR_NO_MEM; m_centrals_in_db_count = 0; }

  • It's very hard to help you when you don't provide more information on what doesn't work with MAX_BONDED_CENTRALS set to 2. Also, this change seems meaningless, and I'm not sure I understand how you'd expect this to work.

    If you have further problems, I suggest you either post it as a support case, including your complete application, or find specific questions and post them separately. Continuing here seems to just get messy, with lots of unrelated problems mixed together.

Reply
  • It's very hard to help you when you don't provide more information on what doesn't work with MAX_BONDED_CENTRALS set to 2. Also, this change seems meaningless, and I'm not sure I understand how you'd expect this to work.

    If you have further problems, I suggest you either post it as a support case, including your complete application, or find specific questions and post them separately. Continuing here seems to just get messy, with lots of unrelated problems mixed together.

Children
No Data
Related