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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 95:7f0d80ab964b
- Parent:
- 78:9a5ba2c5d53c
- Child:
- 108:27213b9fd4f9
diff -r 2bac1b3c5cfc -r 7f0d80ab964b nRF51GattServer.h
--- a/nRF51GattServer.h Mon Mar 02 11:34:45 2015 +0000
+++ b/nRF51GattServer.h Mon Mar 02 11:34:45 2015 +0000
@@ -33,8 +33,8 @@
/* Functions that must be implemented from GattServer */
virtual ble_error_t addService(GattService &);
- 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);
+ virtual ble_error_t readValue(GattAttribute::Handle_t handle, uint8_t buffer[], uint16_t *const lengthP);
+ virtual ble_error_t updateValue(GattAttribute::Handle_t, uint8_t[], uint16_t, bool localOnly = false);
virtual ble_error_t initializeGATTDatabase(void);
/* nRF51 Functions */
