Oscar Ariza / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Committer:
vcoubard
Date:
Mon Jan 11 08:51:49 2016 +0000
Revision:
1089:709ebced28ab
Parent:
1054:ec4a5b9b254e
Synchronized with git rev 0781293b
Author: Andres Amaya Garcia
Add onShutdown to register callbacks

Add an onShutdown() function to Gap, GattClient, GattServer and
SecurityManager. The callbacks are added to a private callback chain in each of
the instances. The callbacks will be executed inside each object's reset()
function BEFORE the state of the instance is cleared. The developers of the
platform-specific implementation must call the parent class' reset() function
for the callbacks to be executed.

Finally, an onShutdown() function that returns the shutdown callchain is added
to allow detaching callbacks.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 125:aae3f50670c9 1 # mbed Bluetooth Low Energy Stack
vcoubard 1053:b55e1ad3e1b3 2 This is the Github repo for the `BLE_API` used by developer.mbed.org. Please see the [mbed BLE Homepage](https://developer.mbed.org/teams/Bluetooth-Low-Energy/) for all documentation, code examples and general help.
rgrover1 125:aae3f50670c9 3
rgrover1 125:aae3f50670c9 4 # Supported Services
vcoubard 1054:ec4a5b9b254e 5 Supported GATT services and constantly being added and can be found in the [ble/services/](https://github.com/ARMmbed/ble/tree/master/ble/services) folder.
vcoubard 1053:b55e1ad3e1b3 6
vcoubard 1053:b55e1ad3e1b3 7 Currently supported services include:
vcoubard 1053:b55e1ad3e1b3 8 * Battery
rgrover1 125:aae3f50670c9 9 * Device Firmware Update (DFU)
vcoubard 1053:b55e1ad3e1b3 10 * Device Information
vcoubard 1053:b55e1ad3e1b3 11 * Eddystone Configuration Service
rgrover1 125:aae3f50670c9 12 * Health Thermometer
rgrover1 125:aae3f50670c9 13 * Heart Rate
vcoubard 1053:b55e1ad3e1b3 14 * Link Loss
rgrover1 125:aae3f50670c9 15 * UART
Rohit Grover 241:00f2410ad9cc 16 * UriBeacon
Rohit Grover 241:00f2410ad9cc 17 * iBeacon
rgrover1 125:aae3f50670c9 18
vcoubard 1054:ec4a5b9b254e 19 The [documentation](https://docs.mbed.com/docs/ble-intros/en/latest/AdvSamples/Overview/)
vcoubard 1054:ec4a5b9b254e 20 contains an overview on how to create new, application-specific services.
vcoubard 1054:ec4a5b9b254e 21
vcoubard 1053:b55e1ad3e1b3 22 # Getting Started
vcoubard 1053:b55e1ad3e1b3 23 The mbed BLE API is meant to be used in projects on developer.mbed.org. Please see examples and sample project files there.
rgrover1 125:aae3f50670c9 24 A good starting point are these pages:
vcoubard 1053:b55e1ad3e1b3 25 * [mbed BLE Homepage](https://developer.mbed.org/teams/Bluetooth-Low-Energy/) for all things BLE
vcoubard 1053:b55e1ad3e1b3 26 * [mbed BLE Getting Started Guide](https://developer.mbed.org/forum/team-63-Bluetooth-Low-Energy-community/topic/5262/) a wonderful primer on using BLE with mbed
vcoubard 1053:b55e1ad3e1b3 27 * [mbed BLE doc](https://docs.mbed.com/docs/ble-intros/en/latest/) for an introduction to mbed BLE
vcoubard 1054:ec4a5b9b254e 28 * [mbed BLE API page](https://docs.mbed.com/docs/ble-api/en/latest/api/index.html) for the Doxygen API documentation