From eb5ca3806d84b689cf985dbeef2d18dea53cd4f1 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Mon, 14 Dec 2015 15:04:56 +0000 Subject: [PATCH] Add a function to change the lastHandle of a discovered characteristic --- source/nRF5xDiscoveredCharacteristic.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/nRF5xDiscoveredCharacteristic.h b/source/nRF5xDiscoveredCharacteristic.h index 31b9f9f..b2f0a0a 100644 --- a/source/nRF5xDiscoveredCharacteristic.h +++ b/source/nRF5xDiscoveredCharacteristic.h @@ -36,6 +36,10 @@ public: ble_gatt_char_props_t propsIn, GattAttribute::Handle_t declHandleIn, GattAttribute::Handle_t valueHandleIn); + + void setLastHandle(GattAttribute::Handle_t last) { + lastHandle = last; + } }; #endif /* __NRF_DISCOVERED_CHARACTERISTIC_H__ */