From 06fe80d975cebd1d55177b526ed8efd25521965c Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Fri, 12 Jun 2015 17:35:12 +0100 Subject: [PATCH] GattServer APIs should be mostly public --- public/GattServer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/GattServer.h b/public/GattServer.h index fd39235..a360844 100644 --- a/public/GattServer.h +++ b/public/GattServer.h @@ -43,8 +43,7 @@ protected: /* 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;