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:
- 204:6a6d2f041905
- Parent:
- 144:bdf5e8432131
- Child:
- 205:2b4afe8ce1a0
- Child:
- 229:9981f62cdb1a
--- a/x-nucleo-idb0xa1/BlueNRGGattServer.h Thu Dec 03 10:25:12 2015 +0100
+++ b/x-nucleo-idb0xa1/BlueNRGGattServer.h Mon Dec 07 15:44:42 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);