initializer changes
This commit is contained in:
parent
9fa8cbc4b1
commit
17160e586b
7 changed files with 39 additions and 6 deletions
|
@ -30,15 +30,19 @@ class ESPMegaIoT
|
|||
void disconnectFromMqtt();
|
||||
void publishToTopic(char *topic, char *payload);
|
||||
void registerMqttCallback(void (*callback)(char *, char *));
|
||||
void setBaseTopic(char *base_topic);
|
||||
|
||||
|
||||
private:
|
||||
void sessionKeepAlive();
|
||||
void mqttReconnect();
|
||||
void wifiReconnect();
|
||||
void mqttCallback(char *topic, byte *payload, unsigned int length);
|
||||
void publishRelative(char *topic, char *payload);
|
||||
PubSubClient mqtt;
|
||||
IoTComponent *components[255];
|
||||
bool card_publish_enabled[255];
|
||||
char payload_buffer[200];
|
||||
char base_topic[100];
|
||||
uint8_t base_topic_length;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue