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

Notification on phone at button press

Hello!

I would like to try the following using my nRF52840 board: press a button on the board and then receive a notification on the phone. And the other way round, press something on the phone and turn on an LED from the board. Therefore, my questions are: 

1. My idea: I read a bit about this and from my perspective, I would have to write some bit in a register which is not temporary and then use this to trigger a notification. But I am not sure which registers I should write in and from what base code to start. Could I ask for your guidance regarding this, please?

2. I tried this alert notification application. It seems very promising, although I am also not so sure about this approach, since the bits which are written while receiving so-called "mails" or "calls" are not used-defined, but rather imposed and not changeable. Am I right?

3. Do you think that this is a good starting point? If yes, should I try to write into those registers from the main program, or do you have another suggestion for other registers?  

Thank you very much and best regards, Marry

Related