From e9cc4d6ed51f8cd2508f3c89371d193e1f0cd169 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Thu, 21 May 2015 13:48:49 +0100 Subject: [PATCH] replaced more deprecated uses of Gap::address_t --- public/BLEDevice.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/BLEDevice.h b/public/BLEDevice.h index 8be26bc..160790f 100644 --- a/public/BLEDevice.h +++ b/public/BLEDevice.h @@ -60,13 +60,13 @@ public: * 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 @@ -676,13 +676,13 @@ BLEDevice::shutdown(void) } 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); }