High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 417:b88033a97016, committed 2015-06-08
- Comitter:
- rgrover1
- Date:
- Mon Jun 08 10:41:18 2015 +0100
- Parent:
- 416:8764654f61fc
- Child:
- 418:accfdd7b9d7b
- Commit message:
- Synchronized with git rev db326a1c
Author: Rohit Grover
replaced more deprecated uses of Gap::address_t
Changed in this revision
public/BLEDevice.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/BLEDevice.h Mon Jun 08 10:41:18 2015 +0100 +++ b/public/BLEDevice.h Mon Jun 08 10:41:18 2015 +0100 @@ -56,13 +56,13 @@ * Set the BTLE MAC address and type. * @return BLE_ERROR_NONE on success. */ - ble_error_t setAddress(Gap::AddressType_t type, const Gap::address_t address); + ble_error_t setAddress(Gap::AddressType_t type, const Gap::Address_t address); /** * Fetch the BTLE MAC address and type. * @return BLE_ERROR_NONE on success. */ - ble_error_t getAddress(Gap::AddressType_t *typeP, Gap::address_t address); + ble_error_t getAddress(Gap::AddressType_t *typeP, Gap::Address_t address); /** * @param[in] advType @@ -649,13 +649,13 @@ } inline ble_error_t -BLEDevice::setAddress(Gap::AddressType_t type, const Gap::address_t address) +BLEDevice::setAddress(Gap::AddressType_t type, const Gap::Address_t address) { return transport->getGap().setAddress(type, address); } inline ble_error_t -BLEDevice::getAddress(Gap::AddressType_t *typeP, Gap::address_t address) +BLEDevice::getAddress(Gap::AddressType_t *typeP, Gap::Address_t address) { return transport->getGap().getAddress(typeP, address); }