8 #ifndef COMPONENTS_CPP_UTILS_BLEVALUE_H_
9 #define COMPONENTS_CPP_UTILS_BLEVALUE_H_
10 #include "sdkconfig.h"
11 #if defined(CONFIG_BT_ENABLED)
20 void addPart(std::string part);
21 void addPart(uint8_t* pData,
size_t length);
26 uint16_t getReadOffset();
27 std::string getValue();
28 void setReadOffset(uint16_t readOffset);
29 void setValue(std::string value);
30 void setValue(uint8_t* pData,
size_t length);
33 std::string m_accumulation;
34 uint16_t m_readOffset;
38 #endif // CONFIG_BT_ENABLED