mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
add hostname to mqtt ids. Use arduinojson library
This commit is contained in:
parent
581ca5d705
commit
920786a356
4 changed files with 7660 additions and 107 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue