Compilation fix for newer mbed-os
Fork of X_NUCLEO_IDB0XA1 by
Revision 265:46333d70cf81, committed 2016-09-15
- Comitter:
- Vincent Coubard
- Date:
- Thu Sep 15 10:51:27 2016 +0100
- Branch:
- sync_with_github
- Parent:
- 254:f4d217cadbde
- Child:
- 275:cb9a052c769b
- Commit message:
- Sync with a3160cd9f64b84d00a671330ffb5e4137a1e4f7b
2016-07-11 13:21:11+02:00: Andrea Palmieri
Update Address declaration types
Signed-off-by: Andrea Palmieri <andrea.palmieri@st.com>
Changed in this revision
source/BlueNRGGap.cpp | Show annotated file Show diff for this revision Revisions of this file |
x-nucleo-idb0xa1/BlueNRGGap.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/BlueNRGGap.cpp Thu Sep 15 10:51:17 2016 +0100 +++ b/source/BlueNRGGap.cpp Thu Sep 15 10:51:27 2016 +0100 @@ -839,7 +839,7 @@ @endcode */ /**************************************************************************/ -ble_error_t BlueNRGGap::getAddress(AddressType_t *typeP, Address_t address) +ble_error_t BlueNRGGap::getAddress(BLEProtocol::AddressType_t *typeP, BLEProtocol::AddressBytes_t address) { uint8_t bdaddr[BDADDR_SIZE]; uint8_t data_len_out;
--- a/x-nucleo-idb0xa1/BlueNRGGap.h Thu Sep 15 10:51:17 2016 +0100 +++ b/x-nucleo-idb0xa1/BlueNRGGap.h Thu Sep 15 10:51:27 2016 +0100 @@ -91,7 +91,7 @@ /* Functions that must be implemented from Gap */ virtual ble_error_t setAddress(addr_type_t type, const Address_t address); - virtual ble_error_t getAddress(addr_type_t *typeP, Address_t address); + virtual ble_error_t getAddress(BLEProtocol::AddressType_t *typeP, BLEProtocol::AddressBytes_t address); virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &); virtual ble_error_t startAdvertising(const GapAdvertisingParams &); virtual ble_error_t stopAdvertising(void); @@ -218,4 +218,4 @@ void operator=(BlueNRGGap const &); }; -#endif // ifndef __BLUENRG_GAP_H__ +#endif // ifndef __BLUENRG_GAP_H__ \ No newline at end of file