Microbug / BLE_API

Fork of BLE_API by Bluetooth Low Energy

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);
 }