Fixes/Enhancement for MQTT and WiFi reconnect + network timout + MQTT retain (#419)
* Retain * Reconnect
This commit is contained in:
@@ -53,14 +53,14 @@ public:
|
||||
void setTimeControlCommandReceivedCallback(void (*timeControlCommandReceivedReceivedCallback)(const char* value));
|
||||
void onMqttDataReceived(const char* topic, byte* payload, const unsigned int length) override;
|
||||
|
||||
void publishFloat(const char* topic, const float value, const uint8_t precision = 2, bool retain = false);
|
||||
void publishInt(const char* topic, const int value, bool retain = false);
|
||||
void publishUInt(const char* topic, const unsigned int value, bool retain = false);
|
||||
void publishULong(const char* topic, const unsigned long value, bool retain = false);
|
||||
void publishBool(const char* topic, const bool value, bool retain = false);
|
||||
bool publishString(const char* topic, const String& value, bool retain = false);
|
||||
bool publishString(const char* topic, const std::string& value, bool retain = false);
|
||||
bool publishString(const char* topic, const char* value, bool retain = false);
|
||||
void publishFloat(const char* topic, const float value, bool retain, const uint8_t precision = 2);
|
||||
void publishInt(const char* topic, const int value, bool retain);
|
||||
void publishUInt(const char* topic, const unsigned int value, bool retain);
|
||||
void publishULong(const char* topic, const unsigned long value, bool retain);
|
||||
void publishBool(const char* topic, const bool value, bool retain);
|
||||
bool publishString(const char* topic, const String& value, bool retain);
|
||||
bool publishString(const char* topic, const std::string& value, bool retain);
|
||||
bool publishString(const char* topic, const char* value, bool retain);
|
||||
|
||||
bool reconnected();
|
||||
uint8_t queryCommands();
|
||||
|
||||
Reference in New Issue
Block a user