Libreprap is a library intended to abstract host <-> reprap communication, allowing all reprap host software to share common code for this task.
Code hosting: https://github.com/Ralith/libreprap
Desired Protocol Changes
- software flow control
- Asynchronous comms: firmware should really be able to request a resend at any point, not just in response to another message.
- confirmation of receipt and checksum validation should happen as soon as the message is received, not once it reaches the head of the queue, so error correction can occur while other blocks are being executed, helping to avoid pauses.
- how is line numbering reset when a new file will be sent?