introduce GattServer::initializeGattDatabase()

master
Rohit Grover 2014-11-20 11:11:31 +00:00
parent d9fecf9209
commit 503f8d5297
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ public:
virtual ble_error_t addService(GattService &) = 0;
virtual ble_error_t readValue(uint16_t handle, uint8_t buffer[], uint16_t *const lengthP) = 0;
virtual ble_error_t updateValue(uint16_t, uint8_t[], uint16_t, bool localOnly = false) = 0;
virtual ble_error_t initializeGATTDatabase(void) = 0;
// ToDo: For updateValue, check the CCCD to see if the value we are
// updating has the notify or indicate bits sent, and if BOTH are set