From a0bd121a73a3d0a240fedcd1a01400e5f1d65779 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Wed, 11 Jun 2014 13:53:16 +0100 Subject: [PATCH] add accessor for GattCharacteristic::_value --- GattCharacteristic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GattCharacteristic.h b/GattCharacteristic.h index bb7b4f7..3ccb9ee 100644 --- a/GattCharacteristic.h +++ b/GattCharacteristic.h @@ -348,6 +348,9 @@ public: uint16_t getMaxLength(void) const { return _lenMax; } + uint8_t *getValuePtr(void) { + return _value; + } private: UUID _uuid; /* Characteristic UUID */