초기화
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef MQTT_HANDLER_H
|
||||
#define MQTT_HANDLER_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <PubSubClient.h>
|
||||
|
||||
extern PubSubClient client;
|
||||
|
||||
void setup_mqtt();
|
||||
void maintain_mqtt();
|
||||
bool detect_and_publish_M();
|
||||
bool detect_and_publish_D();
|
||||
bool process_read_changes();
|
||||
void publish_ack(const char* command_id, const char* status);
|
||||
|
||||
#endif // MQTT_HANDLER_H
|
||||
Reference in New Issue
Block a user