High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 569:a5a6a1681fcf
- Parent:
- 567:e4b38e43de7c
- Child:
- 570:76ec52223765
--- a/public/BLEDevice.h Fri Jun 19 15:52:28 2015 +0100 +++ b/public/BLEDevice.h Fri Jun 19 15:52:49 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); }