replaced more deprecated uses of Gap::address_t
This commit is contained in:
parent
4eb839361c
commit
e9cc4d6ed5
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue