Bill Schilit / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
40:d405c9b1419d
Parent:
38:02cf26a2a4db
Child:
63:653378e782ea
--- a/hw/Gap.h	Thu May 22 14:51:06 2014 +0100
+++ b/hw/Gap.h	Thu May 22 15:02:40 2014 +0100
@@ -45,9 +45,9 @@
 
     /* These functions must be defined in the sub-class */
     virtual ble_error_t setAddress(addr_type_t type, const uint8_t address[6]) = 0;
-    virtual ble_error_t setAdvertisingData(GapAdvertisingData &,
-                                           GapAdvertisingData &) = 0;
-    virtual ble_error_t startAdvertising(GapAdvertisingParams &) = 0;
+    virtual ble_error_t setAdvertisingData(const GapAdvertisingData &,
+                                           const GapAdvertisingData &) = 0;
+    virtual ble_error_t startAdvertising(const GapAdvertisingParams &) = 0;
     virtual ble_error_t stopAdvertising(void)                    = 0;
     virtual ble_error_t disconnect(void)                         = 0;