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 BLE_API by
Diff: hw/BLEDevice.h
- Revision:
- 42:06e75fee52cf
- Parent:
- 41:7ae5c71cd44c
- Child:
- 46:33d87f468a0d
--- a/hw/BLEDevice.h Fri May 23 08:56:31 2014 +0100
+++ b/hw/BLEDevice.h Fri May 23 11:08:43 2014 +0100
@@ -55,7 +55,7 @@
ble_error_t setAdvertisingData(const GapAdvertisingData &ADStructures,
const GapAdvertisingData &scanResponse);
ble_error_t setAdvertisingData(const GapAdvertisingData &ADStructures);
- ble_error_t startAdvertising(GapAdvertisingParams &advParams);
+ ble_error_t startAdvertising(const GapAdvertisingParams &advParams);
ble_error_t stopAdvertising(void);
ble_error_t disconnect(void);
@@ -113,7 +113,7 @@
}
inline ble_error_t
-BLEDevice::startAdvertising(GapAdvertisingParams &advParams) {
+BLEDevice::startAdvertising(const GapAdvertisingParams &advParams) {
return transport->getGap().startAdvertising(advParams);
}
