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.
Fork of nRF51822 by
Diff: nRF51Gap.h
- Revision:
- 69:61da91a52bd6
- Parent:
- 56:a1071b629aa3
- Child:
- 77:9886b2865631
--- a/nRF51Gap.h Fri Sep 26 14:46:19 2014 +0100 +++ b/nRF51Gap.h Tue Nov 04 10:42:27 2014 +0000 @@ -39,10 +39,9 @@ } /* Functions that must be implemented from Gap */ - virtual ble_error_t setAddress(addr_type_t type, - const uint8_t address[6]); - virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, - const GapAdvertisingData &); + 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 setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &); virtual ble_error_t startAdvertising(const GapAdvertisingParams &); virtual ble_error_t stopAdvertising(void); virtual ble_error_t disconnect(DisconnectionReason_t reason);