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 nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 31:c3ce6ee5d300
- Parent:
- 22:c6ee8136847e
- Child:
- 34:48d24b1d2fe6
--- a/nRF51GattServer.h Wed Jun 11 14:52:13 2014 +0100 +++ b/nRF51GattServer.h Fri Jun 13 11:21:09 2014 +0100 @@ -41,7 +41,7 @@ /* Functions that must be implemented from GattServer */ virtual ble_error_t addService(GattService &); - virtual ble_error_t readValue(uint16_t, uint8_t[], uint16_t); + virtual ble_error_t readValue(uint16_t handle, uint8_t buffer[], uint16_t *const lengthP); virtual ble_error_t updateValue(uint16_t, uint8_t[], uint16_t, bool localOnly = false); /* nRF51 Functions */