テスト用

Fork of nRF51822 by Nordic Semiconductor

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