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.
Fork of BLE_API by
Diff: hw/GattServer.h
- Revision:
- 94:455363a6eb90
- Parent:
- 77:1436ecf09583
- Child:
- 99:58c47085e816
--- a/hw/GattServer.h Wed Jun 11 15:03:35 2014 +0100
+++ b/hw/GattServer.h Fri Jun 13 11:22:03 2014 +0100
@@ -34,7 +34,7 @@
public:
/* These functions must be defined in the sub-class */
virtual ble_error_t addService(GattService &) = 0;
- virtual ble_error_t readValue(uint16_t, uint8_t[], uint16_t) = 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;
// ToDo: For updateValue, check the CCCD to see if the value we are
