Commit graph

41 commits

Author SHA1 Message Date
Martin Lund
bf7b032649 Bump version 2022-10-15 23:15:01 +02:00
Martin Lund
ca5af47e7b Update tag date 2022-10-15 00:57:35 +02:00
Martin Lund
d0926b25ba Bump version 2022-09-11 14:00:45 +02:00
Martin Lund
47827f094b Fix compilation error on systems without RS-485 support 2022-09-11 12:51:48 +02:00
Martin Lund
f8c9d6091a Update version date 2022-09-11 11:46:24 +02:00
Martin Lund
ee46686fb6 Add experimental RS-485 support
Many modern RS-485 serial devices such as the ones from FTDI already
operate in RS-485 mode by default and will work with tio out of the box.
However, there are some RS-232/485 devices which need to be switched
from e.g. RS-232 to RS-485 mode to operate accordingly on the physical
level.

This commit implements the switching mechanism and interface required to
enable RS-485 mode. It only works on Linux and with serial devices which
use device drivers that support the Linux RS-485 control interface.

The RS-485 feature is detailed via the following options:

 --rs-485                           Enable RS-485 mode
 --rs-485-config <config>           Set RS-485 configuration

Set the RS-485 configuration using the following key or key value pair
format in the configuration field:

 RTS_ON_SEND=value             Set logical level (0 or 1) for RTS pin when sending
 RTS_AFTER_SEND=value          Set logical level (0 or 1) for RTS pin after sending
 RTS_DELAY_BEFORE_SEND=value   Set RTS delay (ms) before sending
 RTS_DELAY_AFTER_SEND=value    Set RTS delay (ms) after sending
 RX_DURING_TX                  Receive data even while sending data

If defining more than one key or key value pair, they must be comma
separated.

Example use:

 $ tio /dev/ttyUSB0 --rs-485 --rs-r485-config=RTS_DELAY_AFTER_SEND=50,RX_DURING_TX
2022-09-10 17:52:54 +02:00
Martin Lund
34e9d028a1 Bump version to v2.0 2022-08-15 20:05:40 +02:00
Martin Lund
b5273b2b23 Bump version 2022-07-23 20:05:51 +02:00
Martin Lund
e8efb621f8 Bump version date 2022-07-23 12:21:48 +02:00
Martin Lund
616003a55f Bump version 2022-07-20 20:56:43 +02:00
Martin Lund
8b77111bb1 Bump version 2022-07-15 19:56:11 +02:00
Martin Lund
862a3ecadd Bump version date 2022-07-15 19:03:08 +02:00
Martin Lund
611406c14f Bump version 2022-07-13 16:23:09 +02:00
Martin Lund
ff1ed7ea3f Bump version date 2022-07-13 15:49:51 +02:00
Martin Lund
dbdb84743f Bump version 2022-07-09 16:00:34 +02:00
Martin Lund
cf0d27e5b6 Bump version date 2022-07-09 15:44:19 +02:00
Martin Lund
eecfa6485c Bump version 2022-07-04 22:58:34 +02:00
Martin Lund
e426323d93 Bump version 2022-07-04 17:49:28 +02:00
Martin Lund
daa8cd39f3 Update version date 2022-07-04 17:06:18 +02:00
Martin Lund
1f94fe2c9a Bump version 2022-06-17 12:21:59 +02:00
Martin Lund
09240c9ad7 Update version date 2022-06-17 11:54:01 +02:00
Martin Lund
9ab846a30a Bump version 2022-06-14 00:47:03 +02:00
Martin Lund
8f7050dd86 Update version date 2022-06-12 01:11:11 +02:00
Martin Lund
b0590fb021 Bump version 2022-06-02 10:54:08 +02:00
Martin Lund
ba201c7248 Update version date 2022-06-02 09:36:36 +02:00
Martin Lund
af93efb9e4 Bump version 2022-04-19 20:09:02 +02:00
Martin Lund
03e41b61a3 Update version date 2022-04-13 18:00:34 +02:00
Martin Lund
c4d14c1d76 Bump version 2022-03-21 11:17:50 +01:00
Martin Lund
6c5e748e15 Update version date 2022-03-21 10:55:47 +01:00
Martin Lund
e11fcbd2f4 Bump version 2022-02-20 01:09:50 +01:00
Martin Lund
88974852ae Update version_date 2022-02-20 00:51:09 +01:00
Martin Lund
690fbebfc7 Bump version 2022-02-19 13:24:12 +01:00
Martin Lund
7ffeeccdf5 Merge branch 'osx-baudrate' of https://github.com/robey/tio into robey-osx-baudrate 2022-02-16 05:24:35 +01:00
Martin Lund
cbfa118a2b Update version_date 2022-02-15 12:05:23 +01:00
Martin Lund
1ae889fdb2 Bump version 2022-02-15 00:58:44 +01:00
Martin Lund
32e853e46e Fix setspeed2 check 2022-02-14 21:01:58 +01:00
Martin Lund
75a7e06d5d Fix meson header check string 2022-02-14 20:25:33 +01:00
Sylvain LAFRASSE
6a57695ab3 Fix TCGETS2 search on Darwin. 2022-02-14 14:49:42 +01:00
Martin Lund
3599b84ad2 Update meson c standard 2022-02-13 11:11:46 +01:00
Martin Lund
1d03313848 Update version_date 2022-02-13 09:39:43 +01:00
Martin Lund
e9208d693e Replace autotools with meson
To introduce much simpler build configuration which is also easier to
maintain.
2022-02-10 05:09:32 +01:00