Hello,
I’m developing a MQTT
client using the C version 1.0.3 for a linux platform. I
noticed that my broker does not receive any PINGREQS from
the client so the broker disconnects the client. Does the
client need to manually send the message, or is there a way
to ‘turn on’ this feature that I’ve missed.
This is the printout
from my broker.
20160218 115220.284152:
C 20.27 to S: Connects(DUP=False, QoS=0, Retain=False,
ProtocolName=MQTT, ProtocolVersion=4, CleanSession=True,
WillFlag=False, KeepAliveTimer=10, ClientId=20.27,
usernameFlag=False, passwordFlag=False)
Hex: ['0x10', '0x11',
'0x0', '0x4', '0x4d', '0x51', '0x54', '0x54', '0x4', '0x2',
'0x0', '0xa', '0x0', '0x5', '0x32', '0x30', '0x2e', '0x32',
'0x37']
String:
b'\x10\x11\x00\x04MQTT\x04\x02\x00\n\x00\x0520..27'
20160218 115220.287514:
S to C 20.27: Connacks(DUP=False, QoS=0, Retain=False,
Session present=False, ReturnCode=0)
Hex: ['0x20', '0x2',
'0x0', '0x0']
String: b'
\x02\x00\x00'
20160218 115235.314276
client 20.27 connection closing
Kind Regards,
Joe Harte
B+B SmartWorx has become Advantech B+B SmartWorx. To learn more,
visit: