- wasConnected : ksf::comps::ksMqttConnector, ksf::comps::ksWifiConnector
- webServer : ksf::comps::ksDevicePortal
- webSocket : ksf::comps::ksDevicePortal
-- wifiClientSp : ksf::comps::ksMqttConnector
+- wifiClientUq : ksf::comps::ksMqttConnector
- wifiConnectedInternal() : ksf::comps::ksWifiConnector
- wifiConnWp : ksf::comps::ksMqttConnector
- wifiDisconnectedInternal() : ksf::comps::ksWifiConnector
diff --git a/ks_mqtt_connector_8h_source.html b/ks_mqtt_connector_8h_source.html
index a75c4dd..9a90ce3 100644
--- a/ks_mqtt_connector_8h_source.html
+++ b/ks_mqtt_connector_8h_source.html
@@ -127,8 +127,8 @@
-
-
+
+
@@ -200,9 +200,10 @@
std::string prefix
Saved MQTT prefix.
Definition ksMqttConnector.h:60
void subscribe(const std::string &topic, bool skipDevicePrefix=false, ksMqttConnector::QosLevel=ksMqttConnector::QosLevel::QOS_AT_LEAST_ONCE)
Subscribes to MQTT topic.
Definition ksMqttConnector.cpp:155
uint32_t getReconnectCounter() const
Retrieves MQTT reconnect counter.
Definition ksMqttConnector.h:149
-std::unique_ptr< WiFiClient > wifiClientSp
Shared pointer to WiFiClient used to connect to MQTT.
Definition ksMqttConnector.h:44
bool init(ksApplication *app) override
Instantiates the MQTT connector component.
Definition ksMqttConnector.cpp:40
+std::unique_ptr< WiFiClient > wifiClientUq
Shared pointer to WiFiClient used to connect to MQTT.
Definition ksMqttConnector.h:44
uint64_t lastSuccessConnectionTime
Time of connection to MQTT broker in seconds.
Definition ksMqttConnector.h:49
+std::unique_ptr< PubSubClient > mqttClientUq
Shared pointer to PubSubClient used to connect to MQTT.
Definition ksMqttConnector.h:45
virtual ~ksMqttConnector()
Destructor (for uniqueptr purposes).
std::shared_ptr< ksf::evt::ksEvent< const std::string_view &, const std::string_view & > > onAnyMessage
onAnyMessage event that user can bind to.
Definition ksMqttConnector.h:96
bool loop(ksApplication *app) override
Executes MQTT connection logic.
Definition ksMqttConnector.cpp:236
@@ -225,7 +226,6 @@
std::shared_ptr< ksf::evt::ksEvent<> > onConnected
onConnected event that user can bind to.
Definition ksMqttConnector.h:98
void mqttMessageInternal(const char *topic, const uint8_t *payload, uint32_t length)
Called when MQTT message arrives (internal function).
Definition ksMqttConnector.cpp:125
std::string password
Saved MQTT password.
Definition ksMqttConnector.h:59
-std::unique_ptr< PubSubClient > mqttClientSp
Shared pointer to PubSubClient used to connect to MQTT.
Definition ksMqttConnector.h:45
uint32_t reconnectCounter
MQTT reconnection counter.
Definition ksMqttConnector.h:50
bool wasConnected
True if connected in previous loop.
Definition ksMqttConnector.h:54
std::shared_ptr< ksf::evt::ksEvent< const std::string_view &, const std::string_view & > > onDeviceMessage
onDeviceMessage event that user can bind to.
Definition ksMqttConnector.h:95
diff --git a/search/all_13.js b/search/all_13.js
index 6be7874..2e17ae0 100644
--- a/search/all_13.js
+++ b/search/all_13.js
@@ -3,7 +3,7 @@ var searchData=
['wasconnected_0',['wasConnected',['../classksf_1_1comps_1_1ks_mqtt_connector.html#afc9123d68f055d4709f9f455cfb655f9',1,'ksf::comps::ksMqttConnector::wasConnected'],['../classksf_1_1comps_1_1ks_wifi_connector.html#a32228ab43c1d389d792f960e7e5b1aec',1,'ksf::comps::ksWifiConnector::wasConnected']]],
['webserver_1',['webServer',['../classksf_1_1comps_1_1ks_device_portal.html#aed3161ec11cf98fc8afa61e0868596ad',1,'ksf::comps::ksDevicePortal']]],
['websocket_2',['webSocket',['../classksf_1_1comps_1_1ks_device_portal.html#a70a982a1a01f3ae4011d6b78f2dcedbc',1,'ksf::comps::ksDevicePortal']]],
- ['wificlientsp_3',['wifiClientSp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a437a9bcc82d47c0bc27f25c155d35ff3',1,'ksf::comps::ksMqttConnector']]],
+ ['wificlientuq_3',['wifiClientUq',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a575a8a5a511616505c34cbf0866651b8',1,'ksf::comps::ksMqttConnector']]],
['wificonnectedinternal_4',['wifiConnectedInternal',['../classksf_1_1comps_1_1ks_wifi_connector.html#ae2a0ac579cfc0b29ad0ade3de0b8cde4',1,'ksf::comps::ksWifiConnector']]],
['wificonnwp_5',['wifiConnWp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a00194e36edb73cbc7db830d42490fff4',1,'ksf::comps::ksMqttConnector']]],
['wifidisconnectedinternal_6',['wifiDisconnectedInternal',['../classksf_1_1comps_1_1ks_wifi_connector.html#ad011586bdc807db81e5eb9b2766ed950',1,'ksf::comps::ksWifiConnector']]],
diff --git a/search/all_b.js b/search/all_b.js
index 6b43a4b..593b3df 100644
--- a/search/all_b.js
+++ b/search/all_b.js
@@ -2,7 +2,7 @@ var searchData=
[
['mode_0',['mode',['../classksf_1_1comps_1_1ks_reset_button.html#a801b0826bec2cbcef312909b6b9806f3',1,'ksf::comps::ksResetButton']]],
['motivation_1',['🌱 Motivation',['../index.html#autotoc_md1',1,'']]],
- ['mqttclientsp_2',['mqttClientSp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#af745644b5a8c20a49ce70e22e5602303',1,'ksf::comps::ksMqttConnector']]],
+ ['mqttclientuq_2',['mqttClientUq',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a61ba0c64348bc892107da76723b78525',1,'ksf::comps::ksMqttConnector']]],
['mqttconnectedinternal_3',['mqttConnectedInternal',['../classksf_1_1comps_1_1ks_mqtt_connector.html#ac9219e05b7ebd1c2614a36bb8155efe7',1,'ksf::comps::ksMqttConnector']]],
['mqttconnectorwp_4',['mqttConnectorWp',['../classksf_1_1comps_1_1ks_device_portal.html#a4484797e62d2e4ad675db2d836f95d04',1,'ksf::comps::ksDevicePortal']]],
['mqttconnwp_5',['mqttConnWp',['../classksf_1_1comps_1_1ks_dev_stat_mqtt_reporter.html#aaf36a1e5900bef0469f527f962174723',1,'ksf::comps::ksDevStatMqttReporter']]],
diff --git a/search/variables_8.js b/search/variables_8.js
index 0780c82..d4cc869 100644
--- a/search/variables_8.js
+++ b/search/variables_8.js
@@ -1,7 +1,7 @@
var searchData=
[
['mode_0',['mode',['../classksf_1_1comps_1_1ks_reset_button.html#a801b0826bec2cbcef312909b6b9806f3',1,'ksf::comps::ksResetButton']]],
- ['mqttclientsp_1',['mqttClientSp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#af745644b5a8c20a49ce70e22e5602303',1,'ksf::comps::ksMqttConnector']]],
+ ['mqttclientuq_1',['mqttClientUq',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a61ba0c64348bc892107da76723b78525',1,'ksf::comps::ksMqttConnector']]],
['mqttconnectorwp_2',['mqttConnectorWp',['../classksf_1_1comps_1_1ks_device_portal.html#a4484797e62d2e4ad675db2d836f95d04',1,'ksf::comps::ksDevicePortal']]],
['mqttconnwp_3',['mqttConnWp',['../classksf_1_1comps_1_1ks_dev_stat_mqtt_reporter.html#aaf36a1e5900bef0469f527f962174723',1,'ksf::comps::ksDevStatMqttReporter']]]
];
diff --git a/search/variables_f.js b/search/variables_f.js
index f1aa446..6fd5e86 100644
--- a/search/variables_f.js
+++ b/search/variables_f.js
@@ -3,7 +3,7 @@ var searchData=
['wasconnected_0',['wasConnected',['../classksf_1_1comps_1_1ks_mqtt_connector.html#afc9123d68f055d4709f9f455cfb655f9',1,'ksf::comps::ksMqttConnector::wasConnected'],['../classksf_1_1comps_1_1ks_wifi_connector.html#a32228ab43c1d389d792f960e7e5b1aec',1,'ksf::comps::ksWifiConnector::wasConnected']]],
['webserver_1',['webServer',['../classksf_1_1comps_1_1ks_device_portal.html#aed3161ec11cf98fc8afa61e0868596ad',1,'ksf::comps::ksDevicePortal']]],
['websocket_2',['webSocket',['../classksf_1_1comps_1_1ks_device_portal.html#a70a982a1a01f3ae4011d6b78f2dcedbc',1,'ksf::comps::ksDevicePortal']]],
- ['wificlientsp_3',['wifiClientSp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a437a9bcc82d47c0bc27f25c155d35ff3',1,'ksf::comps::ksMqttConnector']]],
+ ['wificlientuq_3',['wifiClientUq',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a575a8a5a511616505c34cbf0866651b8',1,'ksf::comps::ksMqttConnector']]],
['wificonnwp_4',['wifiConnWp',['../classksf_1_1comps_1_1ks_mqtt_connector.html#a00194e36edb73cbc7db830d42490fff4',1,'ksf::comps::ksMqttConnector']]],
['wifiipchecktimer_5',['wifiIpCheckTimer',['../classksf_1_1comps_1_1ks_wifi_connector.html#a20835a8e41863f79bd140f905d908bae',1,'ksf::comps::ksWifiConnector']]],
['wifireconnecttimer_6',['wifiReconnectTimer',['../classksf_1_1comps_1_1ks_wifi_connector.html#a0564f0ed42827fbfc35bdf168b0490cb',1,'ksf::comps::ksWifiConnector']]],