High level Bluetooth Low Energy API and radio abstraction layer

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more

Overview

The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.

Supported Services

Supported services can be found in the BLE_API/services folder.

Committer:
vcoubard
Date:
Mon Jan 11 08:51:52 2016 +0000
Revision:
1096:c3a43f09f1c5
Parent:
1056:ce2fb3d09929
Child:
1131:692ddf04fc42
Synchronized with git rev 39e3e8d1
Author: Andres Amaya Garcia
Modify functions that manipulate adv payload

Modify the functions addData() and updateData() to correctly update the payload
information for a specified AD type if that type was already present in the
payload. For addData() if the AD type is not found, it is added to the payload.
In contrast, in updateData() if the AD type is not found an error is returned.

Documentation was updated accordingly.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vcoubard 1053:ec4a5b9b254e 1 # BLE API {#mainpage}
rgrover1 949:1902cbd0dd83 2
vcoubard 1053:ec4a5b9b254e 3 The BLE module within mbed OS offers a high abstraction level for using
rgrover1 949:1902cbd0dd83 4 Bluetooth Low Energy on multiple platforms.
rgrover1 949:1902cbd0dd83 5
vcoubard 1053:ec4a5b9b254e 6 This documentation describes the internal structure of the mbed
vcoubard 1056:ce2fb3d09929 7 [BLE API](https://github.com/armmbed/ble).
vcoubard 1053:ec4a5b9b254e 8
vcoubard 1053:ec4a5b9b254e 9 For getting started with BLE on mbed, check our [introduction
vcoubard 1053:ec4a5b9b254e 10 page](https://docs.mbed.com/docs/ble-intros/en/latest/).
vcoubard 1053:ec4a5b9b254e 11
vcoubard 1053:ec4a5b9b254e 12 For mbed OS examples using BLE, check [this
vcoubard 1053:ec4a5b9b254e 13 repository](https://github.com/armmbed/ble-examples). For mbed-classic
vcoubard 1053:ec4a5b9b254e 14 examples, please refer to [code under mbed.org](https://developer.mbed.org/teams/Bluetooth-Low-Energy/code/).
vcoubard 1053:ec4a5b9b254e 15
vcoubard 1053:ec4a5b9b254e 16 ## Supported Services
rgrover1 949:1902cbd0dd83 17
vcoubard 1053:ec4a5b9b254e 18 Currently supported reference services include:
rgrover1 949:1902cbd0dd83 19
vcoubard 1053:ec4a5b9b254e 20 * [Battery](@ref BatteryService)
vcoubard 1053:ec4a5b9b254e 21 * [Device Firmware Update (DFU)](@ref DFUService)
vcoubard 1053:ec4a5b9b254e 22 * [Device Information](@ref DeviceInformationService)
vcoubard 1053:ec4a5b9b254e 23 * [Health Thermometer](@ref HealthThermometerService)
vcoubard 1053:ec4a5b9b254e 24 * [Heart Rate](@ref HeartRateService)
vcoubard 1053:ec4a5b9b254e 25 * [UART](@ref UARTService)
vcoubard 1053:ec4a5b9b254e 26 * [UriBeacon](@ref URIBeaconConfigService)
vcoubard 1053:ec4a5b9b254e 27 * [iBeacon](@ref iBeacon)
vcoubard 1053:ec4a5b9b254e 28
vcoubard 1053:ec4a5b9b254e 29 The [documentation](https://docs.mbed.com/docs/ble-intros/en/latest/AdvSamples/Overview/)
vcoubard 1053:ec4a5b9b254e 30 contains an overview on how to create new, application-specific services.