mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-17 01:16:52 +01:00
BugFix Adapters
PINGREQ and PINGRESP Add Error message when the Aggregate GW receives PUBLISH from the broker. Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -101,12 +101,18 @@ Client* AdapterManager::getClient(Client& client)
|
||||
_qosm1Proxy->resetPingTimer(secure);
|
||||
}
|
||||
else if ( client.isAggregated() )
|
||||
|
||||
{
|
||||
newClient = _aggregater->getAdapterClient(&client);
|
||||
_aggregater->resetPingTimer(secure);
|
||||
}
|
||||
|
||||
else if ( client.isQoSm1Proxy() )
|
||||
{
|
||||
_qosm1Proxy->resetPingTimer(secure);
|
||||
}
|
||||
else if ( client.isAggregater() )
|
||||
{
|
||||
_aggregater->resetPingTimer(secure);
|
||||
}
|
||||
return newClient;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user