BLE_API

Revision:
477:6883ec08f2dd
Parent:
475:eb7fbcfb0e85
Child:
481:7ab4b9ef92cc
--- 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);