send rref to mqtt

This commit is contained in:
2024-01-22 22:00:14 +01:00
parent 60cfcf0bc7
commit 0ac6418870
5 changed files with 100 additions and 7 deletions

3
mqtt.h Normal file
View File

@@ -0,0 +1,3 @@
struct mosquitto * connectMqtt(char *user, char *pass);
int sendMqtt(struct mosquitto *mqtt, char *topic, char *payload, int payloadLength);
void disconnectMqtt(struct mosquitto *mqtt);