Add lightswitch to this firmware
This commit is contained in:
10
include/mqtt.h
Normal file
10
include/mqtt.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef __MQTT_H
|
||||
#define __MQTT_H
|
||||
|
||||
#include "mgos.h"
|
||||
#include "mgos_mqtt.h"
|
||||
|
||||
void mqtt_init();
|
||||
void mqtt_publish_stat(const char *stat, const char *msg);
|
||||
|
||||
#endif // __MQTT_H
|
Reference in New Issue
Block a user