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.
Diff: ble/Gap.h
- Revision:
- 1085:ab823cb9783f
- Parent:
- 1084:40c1e518d6de
- Child:
- 1086:75d4e8ce277d
--- a/ble/Gap.h Mon Jan 11 08:51:47 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:51:47 2016 +0000 @@ -38,9 +38,17 @@ public: /** * Address-type for BLEProtocol addresses. - * @note: deprecated. Use BLEProtocol::AddressType_t instead. + * + * @note: deprecated. Use BLEProtocol::AddressType_t instead. This declaration will soon be changed to: + * typedef BLEProtocol::AddressType_t AddressType_t; + * It has been left in this current state to transparenly support existing applications which may have used Gap::ADDR_TYPE_*. */ - typedef BLEProtocol::AddressType_t AddressType_t; + enum AddressType_t { + ADDR_TYPE_PUBLIC = BLEProtocol::AddressType::PUBLIC, + ADDR_TYPE_RANDOM_STATIC, + ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE, + ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE + }; /** * Address-type for BLEProtocol addresses.