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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/GattServer.h
- Revision:
- 660:9d73254fd76b
- Parent:
- 659:5fc41956cbd0
- Child:
- 667:875aecb84719
diff -r 5fc41956cbd0 -r 9d73254fd76b public/GattServer.h
--- a/public/GattServer.h Fri Jun 19 15:53:00 2015 +0100
+++ b/public/GattServer.h Fri Jun 19 15:53:00 2015 +0100
@@ -43,8 +43,7 @@
/* empty */
}
- friend class BLEDevice;
-private:
+public:
/* These functions must be defined in the sub-class */
virtual ble_error_t addService(GattService &) = 0;
virtual ble_error_t readValue(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP) = 0;