/
README
17 lines (13 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Libreprap is a library intended to abstract host <-> reprap communication, allowing all reprap host software to share common code for this task.
Code hosting was: https://github.com/Ralith/libreprap
Page on the reprap wiki: http://reprap.org/wiki/Libreprap
A heavily patched copy of this is hosted inside repsnapper to avoid the compound grief of multiple repos and permissions.
Currently, gcdump (from reprap-tools) and the development branch of RepSnapper is using this lib, but once it matures, the intention is for every host software to start using it.
== Development ==
You can debug the serial code wihtout an actual firmware by using socat:
* sudo socat -d -d pty,link=/dev/libreprap,raw,echo=0 readline,raw,echo=0
** This gives a simple serial terminal that you can use to talk to libreprap
* connect your client software to /dev/libreprap
** now send anything and see it appear on the socat terminal
* for testing libreprap with minimal distractions, try gcdump from https://github.com/Ralith/reprap-utils
** "gcdump -v -p 3 /dev/libreprap" eats from stdin and outputs to stdout. Use "-p 5" instead for comms checksumming