Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: x-nucleo-idb0xa1/BlueNRGGattServer.h
- Revision:
- 205:2b4afe8ce1a0
- Parent:
- 177:65d9b1b75fca
- Parent:
- 204:6a6d2f041905
- Child:
- 242:058b2e731adc
--- 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);