mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 07:26:52 +01:00
@@ -572,7 +572,7 @@ void Client::resetPingRequest(void)
|
||||
_holdPingRequest = false;
|
||||
}
|
||||
|
||||
bool Client::isHoldPringReqest(void)
|
||||
bool Client::isHoldPingReqest(void)
|
||||
{
|
||||
return _holdPingRequest;
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ public:
|
||||
|
||||
void holdPingRequest(void);
|
||||
void resetPingRequest(void);
|
||||
bool isHoldPringReqest(void);
|
||||
bool isHoldPingReqest(void);
|
||||
|
||||
Client* getNextClient(void);
|
||||
|
||||
|
||||
@@ -239,7 +239,7 @@ void MQTTSNPublishHandler::handleRegAck( Client* client, MQTTSNPacket* packet)
|
||||
ev->setClientSendEvent(client, regAck);
|
||||
_gateway->getClientSendQue()->post(ev);
|
||||
}
|
||||
if (client->isHoldPringReqest() && client->getWaitREGACKPacketList()->getCount() == 0 )
|
||||
if (client->isHoldPingReqest() && client->getWaitREGACKPacketList()->getCount() == 0 )
|
||||
{
|
||||
/* send PINGREQ to the broker */
|
||||
client->resetPingRequest();
|
||||
|
||||
Reference in New Issue
Block a user