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:
- 379:da2b85a3dc5c
- Parent:
- 378:7d1411fe3316
- Child:
- 380:2261d409921e
diff -r 7d1411fe3316 -r da2b85a3dc5c nRF51GattServer.h
--- a/nRF51GattServer.h Mon Jul 06 10:21:02 2015 +0100
+++ b/nRF51GattServer.h Mon Jul 06 10:21:02 2015 +0100
@@ -35,6 +35,8 @@
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 areUpdatesEnabled(const GattCharacteristic &characteristic, bool *enabledP);
+ virtual ble_error_t areUpdatesEnabled(Gap::Handle_t connectionHandle, const GattCharacteristic &characteristic, bool *enabledP);
/* nRF51 Functions */
void eventCallback(void);
