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:
rgrover1
Date:
Fri Jun 19 15:52:05 2015 +0100
Parent:
516:85b9261fbda7
Child:
518:54731cc463b3
Commit message:
Synchronized with git rev 06fe80d9
Author: Rohit Grover
GattServer APIs should be mostly public

Changed in this revision

public/GattServer.h Show annotated file Show diff for this revision Revisions of this file
--- a/public/GattServer.h	Fri Jun 19 15:52:05 2015 +0100
+++ b/public/GattServer.h	Fri Jun 19 15:52:05 2015 +0100
@@ -43,8 +43,7 @@
         /* empty */
     }
 
-    friend class BLEDevice;
-private:
+public:
     /* These functions must be defined in the sub-class */
     virtual ble_error_t addService(GattService &)                                                               = 0;
     virtual ble_error_t readValue(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP) = 0;