Java: QoS 2 wrong packet id [message #1787125] |
Sat, 19 May 2018 10:30 |
Andreas Müller Messages: 1 Registered: May 2018 |
Junior Member |
|
|
Hi,
when I subscribe with Paho Java client with QoS 2, the server sends a PUBLISH and it is answered by the client with PUBREC and so on...
The packet id in the PUBREC must match the one sent in the PUBLISH. But what I see is that the client sends another packet id. From the server log:
server->client:
SND: MqttPublishMessage[fixedHeader=MqttFixedHeader[messageType=PUBLISH, isDup=false, qosLevel=EXACTLY_ONCE, isRetain=false, remainingLength=0], variableHeader=MqttPublishVariableHeader[topicName=MQTT/Examples, packetId=0], payload=io.netty.buffer.ByteBuf@6c36aa7c]
client->server:
RCV: MqttMessage[fixedHeader=MqttFixedHeader[messageType=PUBREC, isDup=false, qosLevel=AT_MOST_ONCE, isRetain=false, remainingLength=2], variableHeader=MqttMessageIdVariableHeader[messageId=2], payload=]
Any hints?
Thanks,
Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.03057 seconds