diff --git a/src/backendconnection.cpp b/src/backendconnection.cpp index b194f314a..2a8cdea80 100644 --- a/src/backendconnection.cpp +++ b/src/backendconnection.cpp @@ -62,6 +62,9 @@ void BackendConnection::setState(VeQItemMqttProducer::ConnectionState backendCon setState(BackendConnection::State::Idle); break; } + case VeQItemMqttProducer::WaitingToConnect: // fall through + case VeQItemMqttProducer::TransportConnecting: // fall through + case VeQItemMqttProducer::TransportConnected: // fall through case VeQItemMqttProducer::Connecting: { setState(BackendConnection::State::Connecting); @@ -72,6 +75,7 @@ void BackendConnection::setState(VeQItemMqttProducer::ConnectionState backendCon setState(BackendConnection::State::Connected); break; } + case VeQItemMqttProducer::Identified: // fall through case VeQItemMqttProducer::Initializing: { setState(BackendConnection::State::Initializing); @@ -87,6 +91,9 @@ void BackendConnection::setState(VeQItemMqttProducer::ConnectionState backendCon setState(BackendConnection::State::Disconnected); break; } + case VeQItemMqttProducer::WaitingToReconnect: // fall through + case VeQItemMqttProducer::TransportReconnecting: // fall through + case VeQItemMqttProducer::TransportReconnected: // fall through case VeQItemMqttProducer::Reconnecting: { setState(BackendConnection::State::Reconnecting); diff --git a/src/veutil b/src/veutil index fe5e37406..a095fec1a 160000 --- a/src/veutil +++ b/src/veutil @@ -1 +1 @@ -Subproject commit fe5e3740695cc0af42e287682e188e3b9482bc5a +Subproject commit a095fec1a3bc5a6ddc48e7fd77f4a3cb49a92895