added time drift check command
This commit is contained in:
@@ -54,10 +54,10 @@ public:
|
||||
const bool disconnect();
|
||||
const bool connected();
|
||||
|
||||
const bool subscribe(topic_t topic, action_t action);
|
||||
const bool unsubscribe(topic_t topic);
|
||||
const bool subscribe(const topic_t &topic, const action_t action);
|
||||
const bool unsubscribe(const topic_t &topic);
|
||||
|
||||
const bool publish(topic_t topic, const ArduinoJson::JsonDocument obj);
|
||||
const bool publish(const topic_t &topic, const ArduinoJson::JsonDocument obj);
|
||||
|
||||
private:
|
||||
static void callback(char *topic, uint8_t *payload, unsigned int length); // C-style callback only to invoke onMessage
|
||||
|
||||
Reference in New Issue
Block a user