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: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Revision 595:cbccb25ac154, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:52 2015 +0100
- Parent:
- 594:ae5a67f89da1
- Child:
- 596:0ee6d5f6712a
- Commit message:
- Synchronized with git rev e9cc4d6e
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 Fri Jun 19 15:52:52 2015 +0100
+++ b/public/BLEDevice.h Fri Jun 19 15:52:52 2015 +0100
@@ -60,13 +60,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
@@ -676,13 +676,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);
}
