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

ancs_c or alert_notification?

Hello forum, I've been trying to get SOME alert on my nRF51DK from a phone. I first tried the alert_notification example, but it appears that one has to write a custom Android app to propagate the Android notification over BLE, which I will do some day, but preferably not when I am trying to learn BLE.

I then tried ancs_c, and was able to connect from my iPhone to the "ANCS" on nRF51DK from Settings --> Bluetooth. I even got some UART messages! But I did NOT see any alerts when I sent email and whatnot. So I tried "forget this device" from iPhone. After that, I cannot connect to the FW on nRF51DK (when I press on "ANCS", the category just changes from "MY DEVICES" to "OTHER DEVICES".

It looks like I have 2 unattractive choices: write an Android app now, or debug Apple ANCS. Do others know of a faster road to understanding how to get a phone alert over BLE?

w/ regards, Henry

  • Hi

    1. Yes you will probably have to write your own app to make it work on Android. There are some Android examples on our github account, but none that demonstrate alert notifications.
    2. When you try "forget this device" you probably delete the bond info on your iPhone, but not on your nRF51DK. Hence, the two will not connect anymore. You can try to delete the bond info on your DK as well.