High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
Rohit Grover
Date:
Thu May 29 08:17:36 2014 +0100
Parent:
53:a1bec483c8e3
Child:
55:8f7ca1ae50d7
Commit message:
constructor for GattService should take a constant

Changed in this revision

GattService.cpp Show annotated file Show diff for this revision Revisions of this file
GattService.h Show annotated file Show diff for this revision Revisions of this file
--- a/GattService.cpp	Thu May 29 08:16:31 2014 +0100
+++ b/GattService.cpp	Thu May 29 08:17:36 2014 +0100
@@ -36,7 +36,7 @@
     @endcode
 */
 /**************************************************************************/
-GattService::GattService(uint8_t base_uuid[16]) :
+GattService::GattService(const uint8_t base_uuid[16]) :
     primaryServiceID(base_uuid),
     characteristicCount(0),
     characteristics(),
--- a/GattService.h	Thu May 29 08:16:31 2014 +0100
+++ b/GattService.h	Thu May 29 08:17:36 2014 +0100
@@ -34,8 +34,8 @@
 private:
 
 public:
-    GattService(uint8_t[16]);      /* 128-bit Base UUID */
-    GattService(uint16_t);         /* 16-bit BLE UUID */
+    GattService(const uint8_t[16]); /* 128-bit Base UUID */
+    GattService(uint16_t);          /* 16-bit BLE UUID */
     virtual ~GattService(void);
 
     UUID                primaryServiceID;