Peter Wu
|
13d0579db0
|
Try to make reset more robust
Implements message draining for serial devices and adds a HELO request
to ensure that the device is synchronized and speaks the protocol.
|
2015-12-25 15:55:15 +01:00 |
|
Peter Wu
|
0b38a8af0e
|
lglaf.py: more helpful assertions
|
2015-12-25 15:48:30 +01:00 |
|
Peter Wu
|
0871e23c06
|
Auto-detect serial port on Windows
|
2015-12-24 23:58:34 +01:00 |
|
Peter Wu
|
ad8977611f
|
Add '-c' option, workaround Windows crash
Fixes "AttributeError: 'NoneType' object has no attribute 'isatty'" for
echo ls | lglaf.py --serial com4
Adding "python" avoids the crash.
|
2015-12-24 22:19:47 +01:00 |
|
Peter Wu
|
d5b3ae382f
|
lglaf.py: Initial commit
Tested on Linux only.
|
2015-12-24 20:03:07 +01:00 |
|