XMODEM-checksum (aka XMODEM-128) and some fixes

Note: XMODEM_SUM refers to the early XMODEM 128bytes/Checksum.
This commit is contained in:
yabu76 2026-02-14 09:22:12 +09:00
parent 6328dcd3e4
commit 13f86bd18a
3 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,7 @@ when used in combination with [tmux](https://tmux.github.io).
* Useful for reconnecting when serial device has no serial device by ID * Useful for reconnecting when serial device has no serial device by ID
* Support for non-standard baud rates * Support for non-standard baud rates
* Support for mark and space parity * Support for mark and space parity
* X-modem (1K/CRC) and Y-modem file upload * X-modem (1K/CRC/Checksum) and Y-modem file upload
* Support for RS-485 mode * Support for RS-485 mode
* List available serial devices * List available serial devices
* By device * By device
@ -431,7 +431,7 @@ Returns the `tio` table.
Send file using x/y-modem protocol. Send file using x/y-modem protocol.
Protocol can be any of `XMODEM_1K`, `XMODEM_CRC`, `YMODEM`. Protocol can be any of `XMODEM_1K`, `XMODEM_CRC`, `XMODEM_SUM`, `YMODEM`.
#### `tio.ttysearch()` #### `tio.ttysearch()`

View file

@ -426,7 +426,7 @@ Toggle line timestamp mode
.IP "\fBctrl-t v" .IP "\fBctrl-t v"
Show version Show version
.IP "\fBctrl-t x" .IP "\fBctrl-t x"
Send file using the XMODEM-1K or XMODEM-CRC protocol (prompts for file name and protocol) Send file using the XMODEM-1K or XMODEM-CRC or XMODEM-SUM protocol (prompts for file name and protocol)
.IP "\fBctrl-t y" .IP "\fBctrl-t y"
Send file using the YMODEM protocol (prompts for file name) Send file using the YMODEM protocol (prompts for file name)
.IP "\fBctrl-t ctrl-t" .IP "\fBctrl-t ctrl-t"
@ -468,7 +468,7 @@ Returns the tio table.
.IP "\fBtio.send(file, protocol)" .IP "\fBtio.send(file, protocol)"
Send file using x/y-modem protocol. Send file using x/y-modem protocol.
Protocol can be any of XMODEM_1K, XMODEM_CRC, YMODEM. Protocol can be any of XMODEM_1K, XMODEM_CRC, XMODEM_SUM, YMODEM.
.IP "\fBtio.ttysearch()" .IP "\fBtio.ttysearch()"
Search for serial devices. Search for serial devices.

View file

@ -342,7 +342,7 @@ KEY COMMANDS
ctrl-t v Show version ctrl-t v Show version
ctrl-t x Send file using the XMODEM-1K or XMODEM-CRC protocol (prompts for file name and protocol) ctrl-t x Send file using the XMODEM-1K or XMODEM-CRC or XMODEM-SUM protocol (prompts for file name and protocol)
ctrl-t y Send file using the YMODEM protocol (prompts for file name) ctrl-t y Send file using the YMODEM protocol (prompts for file name)
@ -382,7 +382,7 @@ SCRIPT API
send(file, protocol) send(file, protocol)
Send file using x/y-modem protocol. Send file using x/y-modem protocol.
Protocol can be any of XMODEM_1K, XMODEM_CRC, YMODEM. Protocol can be any of XMODEM_1K, XMODEM_CRC, XMODEM_SUM, YMODEM.
tty_search() tty_search()
Search for serial devices. Search for serial devices.