Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT-SN fowarder encapsulation packet format should be changed

I misunderstood the specification. Length of the wireless Id is clearly specified.

2018/07/20 19:06 "Tomoaki Yamaguchi" <tomoaki@xxxxxxxxxxxxx>:
Gateway can not get a MQTT-SN message from an encapsulation message because the length of a Wireless Id in the encapsulation message is unknown.
Format should be changed as follows:
Length (octet0)
MsgType  (1)
Ctl   (2)
Length of WirelessId  (3)
Wireless Id    (4:n)
MQTT-SN message (n+m)

I will implement this format to the mqttsnPacket for the gateway.

Is there any objection to this implementation.

Back to the top