Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLEDevice.h
- Revision:
- 412:7a295e110b77
- Parent:
- 411:cf2cce37ad73
- Child:
- 414:e8dd7afc1ebf
--- 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::addr_type_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::addr_type_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::addr_type_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::addr_type_t *typeP, Gap::address_t address) +BLEDevice::getAddress(Gap::AddressType_t *typeP, Gap::address_t address) { return transport->getGap().getAddress(typeP, address); }