5 years, 9 months ago.


Hello Everyone,

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 send a BLE message to the mbed 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 mbed device b) how do I then receive that data in variable on the mbed 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 mbed.

Be the first to answer this question.