DiscoveredCharacteristic::read() should be a const member function.

This commit is contained in:
Rohit Grover 2015-06-02 09:02:38 +01:00
parent aedbcb6bfa
commit 7cf2bbb43a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public:
* 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);