mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
BugFix: PINGREQ & PINGRESP can't be received and sent.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -58,7 +58,7 @@ void ClientRecvTask::run()
|
||||
MQTTSNPacket* packet = new MQTTSNPacket();
|
||||
int packetLen = packet->recv(_sensorNetwork);
|
||||
|
||||
if (packetLen < 3 )
|
||||
if (packetLen < 2 )
|
||||
{
|
||||
delete packet;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user