mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-14 16:06:51 +01:00
Set whether to run ClientProxy at startup.
If it does not start, do not create an instance of ClientProxy. Change the name of ClientProxy to QoSm1Proxy Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -73,7 +73,7 @@ void ClientSendTask::run()
|
||||
log(client, packet);
|
||||
if ( client->isProxy() )
|
||||
{
|
||||
_gateway->getClientProxy()->send(packet);
|
||||
_gateway->getQoSm1Proxy()->send(packet);
|
||||
continue;
|
||||
}
|
||||
rc = packet->unicast(_sensorNetwork, client->getSensorNetAddress());
|
||||
|
||||
Reference in New Issue
Block a user