summaryrefslogtreecommitdiff
path: root/src/BLEValue.h
diff options
context:
space:
mode:
authorchegewara <imperiaonline4@gmail.com>2018-11-30 10:59:14 +0100
committerchegewara <imperiaonline4@gmail.com>2018-11-30 10:59:14 +0100
commit934702b6169b92c71cbc850876fd17fb9ee3236d (patch)
tree048df4f7106cd4a574b609a13e62a36567f5a322 /src/BLEValue.h
parentUpload of 0.4.16 (diff)
downloadthermostat-934702b6169b92c71cbc850876fd17fb9ee3236d.tar.gz
thermostat-934702b6169b92c71cbc850876fd17fb9ee3236d.tar.bz2
thermostat-934702b6169b92c71cbc850876fd17fb9ee3236d.zip
Changes, bugfixes and updgrades. Library is ready to work with arduino-esp32 v1.0.1.
Diffstat (limited to 'src/BLEValue.h')
-rw-r--r--src/BLEValue.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/BLEValue.h b/src/BLEValue.h
index 92a7f9a..5df904c 100644
--- a/src/BLEValue.h
+++ b/src/BLEValue.h
@@ -17,13 +17,13 @@
class BLEValue {
public:
BLEValue();
- void addPart(std::string part);
- void addPart(uint8_t* pData, size_t length);
- void cancel();
- void commit();
- uint8_t* getData();
- size_t getLength();
- uint16_t getReadOffset();
+ void addPart(std::string part);
+ void addPart(uint8_t* pData, size_t length);
+ void cancel();
+ void commit();
+ uint8_t* getData();
+ size_t getLength();
+ uint16_t getReadOffset();
std::string getValue();
void setReadOffset(uint16_t readOffset);
void setValue(std::string value);
@@ -33,6 +33,7 @@ private:
std::string m_accumulation;
uint16_t m_readOffset;
std::string m_value;
+
};
#endif // CONFIG_BT_ENABLED
#endif /* COMPONENTS_CPP_UTILS_BLEVALUE_H_ */