Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 10 months ago.
Create BLE scheduler for nRF51822
I need to create a program that will download the operation schedule of one port via Bluetooth from a mobile phone APP. Is there any example I can build on so I don't have to start from scratch? I have a nRF51 DK board for testing.
1 Answer
5 years, 8 months ago.
Hi Sergio,
We don't have an example built for downloading operation schedule via Bluetooth, however I think BLE_GATTC example should be enough for your scenario, please find the example here.
https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattClient
A Gatt server hosts a set of services, which would be mobile phone APP in your case. And your nRF51 DK board should be Gatt client, it is able to read/write attribute and register callback for attribute updated. You can find below documentation for detail.
https://os.mbed.com/docs/mbed-os/v5.11/apis/gattclient.html
Please feel free to ask me any questions!
Desmond, team Mbed