summaryrefslogtreecommitdiff
path: root/src/GeneralUtils.h
diff options
context:
space:
mode:
authorkolban <kolban1@kolban.com>2017-10-13 10:52:17 -0500
committerkolban <kolban1@kolban.com>2017-10-13 10:52:17 -0500
commit34902f4e7fc6926a005a5ccfd4e530d6a6321613 (patch)
tree512593068ed656012ee31fced9526bff80ecad55 /src/GeneralUtils.h
parentMerge pull request #5 from sebastiankliem/master (diff)
downloadthermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.tar.gz
thermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.tar.bz2
thermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.zip
Sync update for 0.4.3 take 2
Diffstat (limited to 'src/GeneralUtils.h')
-rw-r--r--src/GeneralUtils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GeneralUtils.h b/src/GeneralUtils.h
index 152abca..ce75e43 100644
--- a/src/GeneralUtils.h
+++ b/src/GeneralUtils.h
@@ -18,11 +18,13 @@ class GeneralUtils {
public:
GeneralUtils();
virtual ~GeneralUtils();
- static void hexDump(uint8_t *pData, uint32_t length);
- static std::string ipToString(uint8_t *ip);
static bool base64Encode(const std::string &in, std::string *out);
static bool base64Decode(const std::string &in, std::string *out);
+ static bool endsWith(std::string str, char c);
static const char *errorToString(esp_err_t errCode);
+ static void hexDump(const uint8_t *pData, uint32_t length);
+ static std::string ipToString(uint8_t *ip);
+ static void restart();
};
#endif /* COMPONENTS_CPP_UTILS_GENERALUTILS_H_ */