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_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: public/DiscoveredCharacteristic.h
- Revision:
- 477:6883ec08f2dd
- Parent:
- 475:eb7fbcfb0e85
- Child:
- 481:7ab4b9ef92cc
diff -r 122bcbdadb56 -r 6883ec08f2dd public/DiscoveredCharacteristic.h
--- a/public/DiscoveredCharacteristic.h Fri Jun 19 15:52:00 2015 +0100
+++ b/public/DiscoveredCharacteristic.h Fri Jun 19 15:52:00 2015 +0100
@@ -80,7 +80,7 @@
* BLE_ERROR_INVALID_STATE if some internal state about the connection is invalid, or
* BLE_STACK_BUSY if some client procedure already in progress.
*/
- virtual ble_error_t read(uint16_t offset = 0) = 0;
+ virtual ble_error_t read(uint16_t offset = 0) const = 0;
void setupLongUUID(UUID::LongUUIDBytes_t longUUID) {
uuid.setupLong(longUUID);
