-
Notifications
You must be signed in to change notification settings - Fork 165
Description
Describe the bug
A CDP packet can only hold 256 bytes. The data portion (the part where we can add the message) can only hold 229 bytes. If it is more than that, the packet will not publish. However there is no indication to the user why it doesn't fail.
It happened twice two me where I couldn't figure out why it wasn't publishing, since it was not telling me why. I assumed it was MQTT issues or WiFi.
We need to have an error catcher that tells the user that the data is more than 229 bytes and what the current byte count is, so that they know why it is not publising.
To reproduce
Send a packet to a papa duck that is more than 256 bytes long (message is more than 229 bytes).
Expected behavior
The packet will fail to publish without any reason why.
Additional context (please complete)
I am using CDP master.