Closed martinkirsche closed 4 years ago
If the parameter length is 255 bytes the result of the previous MQTTSNPacket_len implementation was 256 bytes. But such a message actually needs a 3-octet long Length field, so it should return 258 instead.
length
MQTTSNPacket_len
If the parameter
length
is 255 bytes the result of the previousMQTTSNPacket_len
implementation was 256 bytes. But such a message actually needs a 3-octet long Length field, so it should return 258 instead.