rref requestable via mqtt
This commit is contained in:
3
mqtt.h
3
mqtt.h
@@ -1,3 +1,4 @@
|
||||
struct mosquitto * connectMqtt(char *user, char *pass);
|
||||
struct mosquitto * connectMqtt(char *user, char *pass, void (*messageCallback)(struct mosquitto *, void *, const struct mosquitto_message *));
|
||||
int sendMqtt(struct mosquitto *mqtt, char *topic, char *payload, int payloadLength);
|
||||
int recvMqtt(struct mosquitto *mqtt, char *topic);
|
||||
void disconnectMqtt(struct mosquitto *mqtt);
|
||||
Reference in New Issue
Block a user