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_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51Gap.h
- Revision:
- 179:10e4c13360d9
- Parent:
- 178:3b34428e80ea
- Child:
- 181:ce044982b915
--- a/nRF51Gap.h Mon May 18 09:53:05 2015 +0100
+++ b/nRF51Gap.h Mon Jun 08 10:43:29 2015 +0100
@@ -44,8 +44,8 @@
}
/* 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 setAddress(AddressType_t type, const address_t address);
+ virtual ble_error_t getAddress(AddressType_t *typeP, address_t address);
virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &);
virtual uint16_t getMinAdvertisingInterval(void) const {return ADVERTISEMENT_DURATION_UNITS_TO_MS(BLE_GAP_ADV_INTERVAL_MIN);}
