1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
Oleg Hahm
3fb2984d2a tools: pyterm: display received prompt immediately 2017-01-18 19:54:10 +01:00
Antonio Galea
2fa4ad3833 reconnecting a USB-serial dongle under Linux might give permission errors until udev scripts complete 2017-01-15 16:59:36 +01:00
Oleg Hahm
3a779b92fa tools: pyterm: specify format prefix via argument 2017-01-10 18:55:49 +01:00
Oleg Hahm
486ca73308 tools: pyterm: properly handle custom output fmt 2017-01-10 11:44:24 +01:00
Oleg Hahm
00942927a2 pyterm: log to stdout per default 2016-11-17 16:59:36 +01:00
Oleg Hahm
0331029990 pyterm: fix logging directory
The default logging directory should be ${HOME}/${HOST}/run-name/
2016-03-20 21:20:59 +01:00
0d9f14c848 make pyterm nicely fails if no port is available 2015-11-20 17:50:40 +01:00
Oleg Hahm
3b8aa9b476 pyterm: fix problems with German umlauts as input 2015-10-27 15:27:04 +01:00
Ludwig Ortmann
ec9d5ea271 Merge pull request #3043 from OlegHahm/pyterm-newline
Pyterm newline
2015-05-26 08:56:37 +02:00
Janos Kutscherauer
6c620f273d Added improved handling of CR/LF in PYTERM.
The default behaviour only appreciates the LF character (unix style).
The pyterm switch -nl/--newline can be used to specify the newline combination of CR/NL.
Possible values are CR, NL, CRNL and NLCR. Default is NL.
2015-05-25 13:38:14 +02:00
Joakim Gebart
f9059ea08d dist/tools/pyterm/testbeds: whitespace fixes 2015-05-09 09:00:36 +02:00
Joakim Gebart
a1d40524f1 dist/tools/pyterm/pytermcontroller: whitespace fixes 2015-05-09 08:59:43 +02:00
Oleg Hahm
30b166c177 pyterm: make mostly pep8 compliant 2014-11-07 01:02:55 +01:00
Oleg Hahm
cbe49912be pyterm: enable TCP connection to remote host 2014-11-05 22:42:36 +01:00
Oleg Hahm
9b4d22aaa0 pyterm: make pin toggling optional
For the MSB-A2 the DTR and RTS pins have to be pulled down over the
serial interface in the beginning. (This is required because the Linux
usbserial driver pulls them up when initializing the device which set
the node into reset mode.) Since this is not necessary on most other
platforms and might even cause problems, it's better to make this an
optional behavior of pyterm.
2014-09-24 17:05:36 +02:00
Philipp Rosenkranz
2a67363be3 dist: pyterm control server (incl. support for multiple testbeds) 2014-09-19 14:42:15 +02:00
Hinnerk van Bruinehsen
1b5836571b pyterm: fix exit behavior if twisted is not available 2014-08-16 00:49:43 +02:00
Oleg Hahm
dce96763b5 pyterm: adds timer function
/timer <interval> <command> now allows to schedule arbitrary commands to
be send to the node after the specified interval (in seconds).
2014-08-13 11:46:36 -04:00
Martine Lenders
5fa5c568ff pyterm: Use only printf-style String Formatting
Needed for backwards compatibility to python 2.6. Refers to
46c38230eb (commitcomment-7363298)
2014-08-13 00:16:41 +02:00
Oleg Hahm
cb85a901f2 pyterm: renamed pyterm.py to pyterm 2014-08-01 17:09:45 +02:00
Oleg Hahm
af24a947f6 pyterm: make Guido happy 2014-08-01 17:09:45 +02:00
Oleg Hahm
73f6a0c518 pyterm: split connect and set_baudrate
Apparently, opening and setting the baudrate at the same time creates
problem for certain platforms (Arduino-Due).
2014-08-01 17:09:45 +02:00
Oleg Hahm
af5291b7d7 pyterm: handle TCP connection errors 2014-08-01 17:09:45 +02:00
Oleg Hahm
8b9c54efae pyterm: make formatting string configurable 2014-08-01 17:09:45 +02:00
Oleg Hahm
a0f43ba736 pyterm: outsource serial connect to a separate function 2014-08-01 17:09:45 +02:00
Oleg Hahm
8c84df391e pyterm: added license 2014-08-01 17:09:45 +02:00
Oleg Hahm
9a09cba325 pyterm: added some documentation 2014-08-01 17:09:45 +02:00
Oleg Hahm
aaccb81794 pyterm: print warning if twisted is not available 2014-08-01 17:09:45 +02:00
Oleg Hahm
a6b276b734 pyterm: ugly hack to make twisted optional 2014-08-01 17:09:44 +02:00
Oleg Hahm
79844660a6 pyterm: enable interoperability with native TCP uart 2014-08-01 17:09:44 +02:00
Oleg Hahm
f76ae40861 pyterm: use the rest of line for alias and trigger
Allows nested aliases and triggers
2014-08-01 17:09:44 +02:00
Oleg Hahm
02f7b610a5 pyterm: increase verbosity for alias command 2014-08-01 17:09:44 +02:00
Oleg Hahm
b1323bf0c3 pyterm: use logger instead of print 2014-08-01 17:09:44 +02:00
Oleg Hahm
431655a3f0 pyterm: introduced trigger actions 2014-08-01 17:09:44 +02:00
Oleg Hahm
cec44e3aed pyterm: fixed usage line for /alias 2014-08-01 17:09:44 +02:00
Oleg Hahm
9a2c1d3c87 pyterm: split up input processing into separate functions 2014-08-01 17:09:44 +02:00
Oleg Hahm
a0796ae6e5 pyterm: always perform input preprocessing 2014-08-01 17:09:44 +02:00
Oleg Hahm
f335cf07c3 pyterm: set default verbosity to info 2014-08-01 17:09:44 +02:00
Oleg Hahm
fbd2c345ce pyterm: cosmetics
* replaced tab with white spaces
* removed trailing white spaces
2014-08-01 17:09:44 +02:00
Oleg Hahm
e661b386a0 pyterm: handle serial disconnect
* will reconnect automatically if possible after a disconnect
* resolves #910
2014-08-01 17:09:44 +02:00
Oleg Hahm
32716fea6c pyterm: enable saving and setting of init commands at runtime 2014-08-01 17:09:44 +02:00
Oleg Hahm
e38fd42fef pyterm: integrated changes from @mehlis' testbed-controller branch 2014-08-01 17:09:44 +02:00
Oleg Hahm
1899fffb4f pyterm: use writeSomeData to send data immediately 2014-08-01 17:09:44 +02:00
Oleg Hahm
534ca4633e pyterm: distinguish between int and string in JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
211dfeca6c pyterm: allow spaces in JSON regex 2014-08-01 17:09:44 +02:00
Oleg Hahm
07e4e4372e pyterm: remove unnecessary debug output 2014-08-01 17:09:44 +02:00
Oleg Hahm
508e8770c7 pyterm: fix program exit procedure, disable SIGINT 2014-08-01 17:09:44 +02:00
Oleg Hahm
cffa4e73d5 pyterm: added twisted based JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
64b1250f3b pyterm: configure baudrate 2014-08-01 17:09:44 +02:00
Oleg Hahm
f816d74824 pyterm: prefix pyterm commands with / 2014-08-01 17:09:44 +02:00