GattServer APIs should be mostly public

This commit is contained in:
Rohit Grover 2015-06-12 17:35:12 +01:00
parent ab66c925bc
commit 06fe80d975
1 changed files with 1 additions and 2 deletions

View File

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