Understand that Mesh.publish is not reliable. As stated by @rickkas7
“At this time, Mesh.publish is not reliable. It uses UDP multicast, and thus Mesh.publishes could be lost.”
What I am observing is that my subscriber sees most every message, however, there are rare times where I only get part of the message.
So, for example, if the sender does
Mesh.publish("name", "abcd");
Sometimes the subscriber gets just “bc” or “bcd”, etc. I haven’t noticed the string getting out of order but that may be possible as well?
Is this the expected behavior given that it is using UDP multicast to send messages?
If so, I would need to implement a response message that the sender would need to receive and compare to ensure the response message exactly matched what was sent.