mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add Pulse DTR command
MCUs like the ESP32 can be reset if the serial port DTR line is pulsed for a short time. You could just type CTRL-t d CTRL-t d but that's a little awkward since you have to lift your finger off the CTRL key to type the Ds. Now you can just type CTRL-T D. * Added new command "D" to pulse the DTR line. I.E. Toggle its state twice with a configurable duration between toggles. * Added new config/command line option "--dtr-pulse-duration" to set the duration between the DTR state toggles. The default is 100ms.
This commit is contained in:
parent
a717631207
commit
f24cee61e7
8 changed files with 42 additions and 0 deletions
11
man/tio.1.in
11
man/tio.1.in
|
|
@ -41,6 +41,12 @@ Set parity (default: none).
|
|||
.BR \-o ", " "\-\-output\-delay " \fI<ms>
|
||||
|
||||
Set output delay [ms] inserted between each sent character (default: 0).
|
||||
|
||||
.TP
|
||||
.BR " \-\-dtr\-pulse\-duration " \fI<ms>
|
||||
|
||||
Set the duration [ms] of the DTR pulse (default: 100).
|
||||
|
||||
.TP
|
||||
.BR \-n ", " \-\-no\-autoconnect
|
||||
|
||||
|
|
@ -199,6 +205,8 @@ Send ctrl-t key code
|
|||
Show line states (DTR, RTS, CTS, DSR, DCD, RI)
|
||||
.IP "\fBctrl-t d"
|
||||
Toggle DTR
|
||||
.IP "\fBctrl-t D"
|
||||
Pulse DTR
|
||||
.IP "\fBctrl-t r"
|
||||
Toggle RTS
|
||||
.IP "\fBctrl-t v"
|
||||
|
|
@ -254,6 +262,8 @@ Set stop bits
|
|||
Set parity
|
||||
.IP "\fBoutput-delay"
|
||||
Set output delay
|
||||
.IP "\fBdtr-pulse-duration"
|
||||
Set DTR pulse duration
|
||||
.IP "\fBno-autoconnect"
|
||||
Disable automatic connect
|
||||
.IP "\fBlog"
|
||||
|
|
@ -291,6 +301,7 @@ databits = 8
|
|||
parity = none
|
||||
stopbits = 1
|
||||
color = 10
|
||||
dtr-pulse-duration = 50
|
||||
.ec
|
||||
.fi
|
||||
.RE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue