mirror of https://github.com/ARMmbed/mbed-os.git
This commit adds API to enable and configure the device privacy. It deprecates address random types present in Gap::AddressType as these types are not appropriate for scan reports, connection initiation and the connection event. Now user should use the function Gap::getRandomAddressType to find the type of a random address. The function gap::setAddress is deprecated as it is not portable and can colide with privacy. |
||
---|---|---|
.. | ||
ble | ||
source | ||
targets | ||
.gitignore | ||
.mbedignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DOXYGEN_FRONTPAGE.md | ||
LICENSE | ||
README.md | ||
apache-2.0.txt | ||
ble.doxyfile | ||
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 the 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 ble/services/ folder.
Currently supported services include:
- Battery
- Device Firmware Update (DFU)
- Device Information
- Eddystone Configuration Service
- Health Thermometer
- Heart Rate
- Link Loss
- UART
- UriBeacon
- iBeacon
The documentation contains an overview on how to create new, application-specific services.
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 doc for an introduction to mbed BLE
- mbed BLE API page for the Doxygen API documentation