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:
- 77:9886b2865631
- Parent:
- 69:61da91a52bd6
- Child:
- 102:bdc690669431
--- a/nRF51Gap.h Fri Nov 21 10:00:41 2014 +0000
+++ b/nRF51Gap.h Fri Nov 21 10:00:41 2014 +0000
@@ -39,8 +39,8 @@
}
/* Functions that must be implemented from Gap */
- virtual ble_error_t setAddress(addr_type_t type, const uint8_t address[ADDR_LEN]);
- virtual ble_error_t getAddress(addr_type_t *typeP, uint8_t addressP[ADDR_LEN]);
+ 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 setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &);
virtual ble_error_t startAdvertising(const GapAdvertisingParams &);
virtual ble_error_t stopAdvertising(void);
@@ -68,4 +68,4 @@
void operator=(nRF51Gap const &);
};
-#endif // ifndef __NRF51822_GAP_H__
+#endif // ifndef __NRF51822_GAP_H__
\ No newline at end of file
