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

Receiving notifications from Android Phone

Hi all,

I like build a smartwatch-like device that can receive notifications from my android phone. The bluetooth device has a oled screen and displays what notification is received. If there is an incoming sms, the screen shows "SMS", if there is a incoming call, the screen shows "CALL".

I do not know where to start. Can someone provide me with some pointers, links, etc on where to get started and which nrf examples should I look at. I have a NRF 52DK.

Thanks in advance.

Parents
  • Hi Kian,

    You can implement what Endnode already suggested. Basically you need an app on the phone to detect when the phone is ringing and send the information about the call to the device.

    We have an example that do pretty much what you wanted to do, the Alert Notification Application, please have a look here.

    Another option is to create a ANCS server on Android phone. This way you can use your application on both Android and iOS.

  • Hi Hung Bui,

    Thank you for the reply. I have looked a the Alert Notification Application example and was able to test it out successfully with NRF Connect on my mobile phone.

    I need to write a custom Android application now. What confuses me now is whether the phone is a GAP peripheral + GATT Server or a GAP Central + GATT Client? I know that the alert notification notification is a peripheral. So what should be implemented on the phone?

Reply
  • Hi Hung Bui,

    Thank you for the reply. I have looked a the Alert Notification Application example and was able to test it out successfully with NRF Connect on my mobile phone.

    I need to write a custom Android application now. What confuses me now is whether the phone is a GAP peripheral + GATT Server or a GAP Central + GATT Client? I know that the alert notification notification is a peripheral. So what should be implemented on the phone?

Children
No Data
Related