Update the MQTT and JSON handling slightly.

This commit is contained in:
Jonathan Naylor
2023-07-04 17:08:11 +01:00
parent 893952f024
commit fddabee1b9
3 changed files with 22 additions and 18 deletions

View File

@@ -38,6 +38,7 @@ public:
bool open();
bool publish(const char* topic, const char* text);
bool publish(const char* topic, const std::string& text);
bool publish(const char* topic, const unsigned char* data, unsigned int len);
void close();