Initial checkin.
This commit is contained in:
14
include/mqtt.h
Normal file
14
include/mqtt.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef __MQTT_H
|
||||
#define __MQTT_H
|
||||
|
||||
#include "mgos.h"
|
||||
#include "mgos_mqtt.h"
|
||||
|
||||
#define MQTT_TOPIC_PREFIX ""
|
||||
#define MQTT_TOPIC_BROADCAST_CMD "/mongoose/broadcast"
|
||||
#define MQTT_TOPIC_BROADCAST_STAT "/mongoose/broadcast/stat"
|
||||
|
||||
void mqtt_init();
|
||||
void mqtt_publish_stat(const char *stat, const char *msg);
|
||||
|
||||
#endif // __MQTT_H
|
Reference in New Issue
Block a user