MrYsLab / telemetrix

A user-extensible replacement for StandardFirmata. All without the complexity of Firmata!
GNU Affero General Public License v3.0
69 stars 26 forks source link

Add packet length when sending commands and reports #4

Closed MrYsLab closed 4 years ago

MrYsLab commented 4 years ago

All packets will contain a length byte to eiliminate the need to coordinate lengths between the sender and receiver by having the receiver maintain a table with the lengths of incoming packets. This makes debugging and and adding features simpler.

It adds a little data transmission overhead but makes the code simpler to understand and maintain.

MrYsLab commented 4 years ago

Release 0.1.7 implements this feature.