- Aug 09, 2024
-
-
Jonas Höppner authored
The kernel has support for setting the baudrate as integer using BOTHER as id with the termios2 struct. It seems that this is not yet supported in the libc, so we are using kernel headers directly.
-
Jonas Höppner authored
-
- Jul 04, 2024
-
-
Mikhail Vanyulin authored
Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jun 14, 2024
-
-
Jonas Höppner authored
-
- Jun 13, 2024
-
-
Jonas Höppner authored
-
- May 28, 2024
-
-
Jonas Höppner authored
- '-z' for tx_only mode (yes, we are running out of useful chars...) - '-r' for repitition now understands '0', to not stop after a counted number of cycles. - Sort the parameters and help, some whitespace cleanups. Fix for GRNFS-26
-
- Jul 06, 2022
-
-
Felix Gerking authored
Before, the delay_rts_before_send delay_rts_after_send fields were not explicitly initialized. This led to a erroneous transmission behaviour. Now the RS485 port settings are read before the half duplex configuration is done. This ensures that the delays are set to 0 or to a predefined value (device tree). BCS 746-000908
-
- May 18, 2021
-
-
Julian Dieskau authored
If I see it right there could be a segmentation fault if used in echo mode. When you choose echo mode the variable message wouldn't a value assigned and in the cleanup function the not allocated memory would be free'ed.
-
- Apr 04, 2021
-
-
Julian Dieskau authored
-
- Mar 29, 2021
-
-
Jonas Höppner authored
Option -c enables flowcontrol with rts and cts, for none RS485 mode. Option -t adds a delay after the reception of the first byte, usable to test the flowcontrol.
-
- Feb 18, 2021
-
-
Jonas Höppner authored
rand was initialized with time(0) which led to the same data if started twice in the same wall time second. Now also taking nanoseconds into acount. BCS 746-000172
-
- Nov 23, 2020
-
-
Clemens Terasa authored
The ```gettimeofday()``` function is defined in ```sys/time.h```. Thus include it. BCS 746-000125
-
- Nov 19, 2020
-
-
Jonas Höppner authored
* Add RS485 echo test for our EMC verification. * The test is more flexible than the legacy RS485 ping pong test and will always recover from transmission errors due to EMI. * The sent data includes a hard-coded 4-byte header and a 4-byte data length field, which is parsed by the receiver. The receiver always scans the received data for the header bytes in order to detect a new message. BCS 746-000125
-