A fast MQTT dashboard application and rule engine framework written in C for Linux, Raspberry Pi and WINDOWS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
648 B

/* MQTT.h (c) Markus Hoffmann */
/* This file is part of MQTT-Hyperdash, the MQTT Dashboard
* ============================================================
* MQTT-Hyperdash is free software and comes with NO WARRANTY - read the file
* COPYING for details
*/
#define DEFAULT_BROKER "tcp://localhost:1883"
void mqtt_init();
void mqtt_exit();
int mqtt_broker(char *url,char *user, char *passwd, char *);
void mqtt_subscribe(const char *topic,int qos);
void mqtt_publish(char *topic, STRING payload, int qos, int retain);
void mqtt_disconnect();
void mqtt_unsubscribe_all();
void mqtt_subscribe_all();
extern volatile int mqtt_isconnected;