![]() - There's a new type: BLE::InitializationCompleteCallback_t - init() now takes a completion callback. This is an optional parameter, if no callback is setup the application can still determine the status of initialization using BLE::hasInitialized() (see below). - There's a new API: BLEInstanceBase::hasInitialized() which transports need to implement. - BLEInstanceBase.h is no longer included from BLE.h. We use a forward declaration of BLEInstanceBase instead. This is required us to move implementations of BLE methods out of the header and into BLE.cpp. - There's a new API: BLE::getInstanceID(), which simply returns the ID of an instance. - There are new error types around initialization. |
||
---|---|---|
ble | ||
source | ||
LICENSE | ||
README.md | ||
apache-2.0.txt | ||
module.json |
README.md
mbed Bluetooth Low Energy Stack
This is the github repo for the BLE_API used by developer.mbed.org. Please see mbed BLE Homepage for all documentation, code examples and general help.
Supported Services
Supported GATT services and constantly being added and can be found in the /services folder. Currently supported services include:
- Battery
- Device Firmware Update (DFU)
- Device Information
- Health Thermometer
- Heart Rate
- UART
- UriBeacon
- iBeacon
Getting Started
The mbed BLE API is meant to be used in projects on developer.mbed.org. Please see examples and sample project files there. A good starting point are these pages:
- mbed BLE Homepage for all things BLE
- mbed BLE Getting Started Guide a wonderful primer on using BLE with mbed
- mbed BLE API page for the API in generated by doxygen