Fix connect problem with MqttClient

This commit is contained in:
hsaturn
2021-04-11 00:47:35 +02:00
parent 77da47e1da
commit be62699702
2 changed files with 27 additions and 24 deletions

View File

@@ -191,6 +191,8 @@ class MqttClient
static long counter;
private:
static void onConnect(void * client_ptr, AsyncClient*);
static void onData(void* client_ptr, AsyncClient*, void* data, size_t len);
MqttError sendTopic(const Topic& topic, MqttMessage::Type type, uint8_t qos);
void resubscribe();