void pub(struct mg_connection *mgConnection, const char *pubTopic, const char *fmt,...)
used for publishing to a specific channel of the mqtt server
Definition: mqtt.cpp:61
void sub(struct mg_connection *mgConnection, const char *fmt,...)
function used for subscribing to mqtt channels, has variable arguments support
Definition: mqtt.cpp:36