This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ble_app_ancs: not receiving notifications after power cycle? Help!

I'm able to flash ble_app_ancs to the nrf51822, and I'm able to debug it successfully. I'm also able to pair with my iPhone 5S running iOS 7.1. After the initial pairing, I am able to receive notifications from my iPhone. As new notifications come in, I see them arrive on the nrf51822. All is good. However, after resetting the nrf51822, I no longer receive any notifications at all. I also don't see any errors anywhere.

I did make the change to on_ble_event to call apple_notification_setup for BLE_GAP_EVT_CONN_PARAM_UPDATE as well, as mentioned here: devzone.nordicsemi.com/.../

So, any idea on what I might be doing wrong? I'm guessing this reproduces for anyone who tries the ble_app_ancs sample.

Thanks a ton, Mallory

EDIT: Is there any additional information I could provide that could help you help me? I did downgrade to SDK 5.2.0 w/ S110 6.0.0, and now my iPhone at least able to reconnect to the nrf51822 after cycling its BT power. However, notifications still do not arrive after cycling either iPhone BT power or cycling the power on the nrf51822.

Parents Reply Children
  • This is bizarre. If I build the project via gcc on my Mac, then I get the behavior I described where notifications only come across after initial pairing. After power-cycling the nrf51822, the device reconnects to my iPhone, but no notifications are received. If I build the exact same (untouched) example via Keil 4 on Windows 7, then I'm able to receive notifications after power cycling as you described.

Related