Closed mrrosen closed 4 years ago
In the case where message length is zero, skip over reading out the data field from the packet. In the current design, this should only happen if the packet is corrupted but a zero length package is possible from the specification.
Changed my mind, 0 length messages are considered corrupt now
Lakshman tested, fixes the bug he was seeing
In the case where message length is zero, skip over reading out the data field from the packet. In the current design, this should only happen if the packet is corrupted but a zero length package is possible from the specification.