add hostname to mqtt ids. Use arduinojson library

This commit is contained in:
Brett Christensen 2024-02-13 18:40:53 +11:00
parent 581ca5d705
commit 920786a356
4 changed files with 7660 additions and 107 deletions

View file

@ -59,6 +59,6 @@ extern char mqtt_msg[MQTT_MSG_BUFFER_SIZE];
void init_mqtt(void);
void mqtt_loop(void);
bool mqtt_publish_retain(const char* topic);
bool mqtt_publish(const char* topic, const char* mqtt_msg, bool retain);
#endif