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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: nRF51Gap.h
- Revision:
- 3:791d672cbbec
- Parent:
- 1:f84abedbf4fb
- Child:
- 17:c3e11bb6cb72
--- a/nRF51Gap.h Thu Apr 03 02:00:35 2014 +0100 +++ b/nRF51Gap.h Thu May 22 15:03:55 2014 +0100 @@ -40,9 +40,11 @@ } /* Functions that must be implemented from Gap */ - virtual ble_error_t setAddress(addr_type_t type, uint8_t address[6]); - virtual ble_error_t setAdvertisingData(GapAdvertisingData &, GapAdvertisingData &); - virtual ble_error_t startAdvertising(GapAdvertisingParams &); + 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 startAdvertising(const GapAdvertisingParams &); virtual ble_error_t stopAdvertising(void); virtual ble_error_t disconnect(void);