Apologies if this has been asked before, but my searches came up with no relevant hits.
I'm trying to find code examples for the following.
I want the following to happen when my Android phone rings with an incoming call: 1) The android phone sends a BLE message to the Arduino BLE device that is registered on the phone. 2) If possible I want the details of the call, e.g. if the person is in the contact then their name should be sent to.
So a) how do I get android to send those details to an bluetooth enabled arduino device b) how do I then receive that data in variables on the arduino code thats running so that I can process it and perform logic with it :)
Thanks in advance for you time in helping me out. I have googled extensively and read about BLE and GATT and such, but I can't seem to find any code fragments on what I should be doing. Either on android (if any) or arduino.