project
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGattServer.h
- Revision:
- 205:2b4afe8ce1a0
- Parent:
- 177:65d9b1b75fca
- Parent:
- 204:6a6d2f041905
--- a/x-nucleo-idb0xa1/BlueNRGGattServer.h Thu Dec 03 11:37:55 2015 +0100 +++ b/x-nucleo-idb0xa1/BlueNRGGattServer.h Mon Dec 07 15:47:02 2015 +0100 @@ -70,8 +70,8 @@ /* Functions that must be implemented from GattServer */ // <<<ANDREA>>> virtual ble_error_t addService(GattService &); - virtual ble_error_t readValue(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); - virtual ble_error_t readValue(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); + virtual ble_error_t read(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); + virtual ble_error_t read(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); virtual ble_error_t write(GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false); virtual ble_error_t write(Gap::Handle_t connectionHandle, GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false); virtual ble_error_t initializeGATTDatabase(void);