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
  • You'll only receive such update event if the connection parameters are actually changed. If the iOS device already connects with suitable parameters, you won't get it.

    However, it's not quite clear to me what exactly you want to happen and what doesn't work. I'd recommend you to post this question separately and make sure to include a little more information. Does it for instance work when you connect the first time, after having deleted bond info on both devices?

    Have you tried using a sniffer to see what happens on-air?

Reply
  • You'll only receive such update event if the connection parameters are actually changed. If the iOS device already connects with suitable parameters, you won't get it.

    However, it's not quite clear to me what exactly you want to happen and what doesn't work. I'd recommend you to post this question separately and make sure to include a little more information. Does it for instance work when you connect the first time, after having deleted bond info on both devices?

    Have you tried using a sniffer to see what happens on-air?

Children
  • Hi Ole, I also faced the same problem as Nori. After the paring, my device can receive notifications from my iPhone. But when the connection terminates (devices are outranged or bluetooth on phone is toggled on/off) and then the two devices auto reconnect successfully, the notification no longer works.

    I agree with you that the BLE_GAP_EVT_CONN_PARAM_UPDATE only comes when the connection params are changed thus the workaround cannot solve this problem if the connection params are unchanged after reconnection. Even when the params get changed, we might get some delay (~10 sec in my case) before the event comes.

    So, again... any solution for this?

Related