lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #10049] Support for binary Will Message


From: Freddie Chopin
Subject: [lwip-devel] [patch #10049] Support for binary Will Message
Date: Thu, 15 Dec 2022 08:27:51 -0500 (EST)

Follow-up Comment #1, patch #10049 (project lwip):

Yeah, I stumbled upon the same problem. In the Sparkplug protocol (which uses
MQTT) the data is sent in binary form, for Sparkplug B it uses ProtoBuf to
encode it. MQTT's "will" is used for "NDEATH" message type and is also binary,
which means it can include a null byte on any position. With current lwIP MQTT
implementation, such binary data that contains a null byte will result in
malformed encoding, usually causing all the Sparkplug recipients to go crazy
(as MQTT broker doesn't know what format this data has, so it just resends it
to all subscribed clients).

Please consider this one for merging to the master branch.


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?10049>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]