- 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.
-
- Mar 08, 2021
-
-
Jonas Höppner authored
Add qml implementation of bouncing ball to be used with qmlscene. Add itu background images in png format.
-
- Feb 25, 2021
-
-
Clemens Terasa authored
For the TANARO platform we need to initialize the keypad and test it. Add the corresponding scripts and Makefile hint. BCS 746-000147
-
Clemens Terasa authored
The line endings were set to DOS (carriage-return + linefeed) Set it to unix instead. With this also change the subdir variable to multi line and order it. BCS 746-000147
-
- Feb 18, 2021
-
-
Jonas Höppner authored
Uses the Packageformat from RS485 test, works with direct loopback. Don't uses additional threads, so no syncronisation problems. BCS 746-000172
-
Jonas Höppner authored
Some test are compiled into bit, so the time consuming fork process can be omitted. With -n this can be disabled now. BCS 746-000172
-
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
-
- Feb 17, 2021
-
-
Jonas Höppner authored
The rs485pingpong test is replaced by rs485echo test, which turns out to be more stable. BCS 746-000172
-
- Nov 30, 2020
-
-
Clemens Terasa authored
Add a pthread barrier to synchronize the Rx/Tx threads and remove the Tx pipe as it becomes useless. This fixes the issue when the serial test is run inside bit. BCS 746-000147
-
- Nov 23, 2020
-
-
Clemens Terasa authored
Add the possibility to use a TCP connection for the echo client. The code is well prepared for this and you simply need to activate the correct parameter parsing and connect the socket to the server. Additionally to activating the TCP connection we have to wait for the whole package to arrive. As a refactoring step sue a simple division instead of a conditional shift to get a loop boundary. BCS 746-000127
-
Clemens Terasa authored
The ```gettimeofday()``` function is defined in ```sys/time.h```. Thus include it. BCS 746-000125
-
- Nov 20, 2020
-
-
Clemens Terasa authored
For concurrency and synchronization issues we need a new approach. The select() function and additional pipes should be sufficient to timeout and synchronize the TX source and Rx sink thread.
-
- 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
-
- Nov 11, 2020
-
-
Jonas Höppner authored
BCS 746-000120
-
- Nov 09, 2020
-
-
Clemens Terasa authored
The usleep did not fix the broken Microchip MCP25XXFD CAN driver. To resolve the issue we need to update the driver, thus remove the sleep.
-
Clemens Terasa authored
The pthread_cond_signal should be called with the mutex locked. Thus move the unlock after the signal. Add an usleep(1000) before closing the CAN socket. Some drivers have some kind of race condition sending data and closing the socket.
-
Marc-Oliver Westerburg authored
iptest assumed sizeof(unsigned long) == 4, which fails on aarch64. fixed this.
-
- Nov 04, 2020
-
-
Jonas Höppner authored
BCS 746-000110
-
- Nov 03, 2020
-
-
Jonas Höppner authored
-
- Feb 24, 2020
-
-
Tim Jaacks authored
* Our hardware supports more baud rates than the test did. Add support for baud rates above 230400. Change-Id: Ic1f0ad2244b84881ef0a8bb952d3ec27825cd569
-
- Oct 16, 2019
-
-
Marc-Oliver Westerburg authored
* @aio@ tool can now use device-names of the form ** e.g. @iio:device0/in_voltage_raw@ to specify devices relative to @/sys/bus/iio/devices/@, as before ** or e.g. @/dev/ain1/in_voltage_raw@ to specify absolute device names Change-Id: Id0e38ea614e03b3f3363209a5ce3af21c5a7fb0a
-
Marc-Oliver Westerburg authored
* added new parameters @-f@ and @-g@ to override the IIO scale values reported by the system Change-Id: I02e4bce2a4ab7a22bf9be54470890857e811ab70
-
Marc-Oliver Westerburg authored
* added option @-m@ to apply a median filter to the input * added option @-a@ to apply an average filter to the input Change-Id: Ic8a6e7de08f4280de418f12f7126da003b395e26 Note: The new option are mutually exclusive with each other and the @-r@ (dummy read) option
-
Marc-Oliver Westerburg authored
* added new "-d" parameter to specify a delay (in milliseconds) between setting the output and reading the input to allow for slower hardware (esp. galvanically isolated DIOs). Change-Id: I982196b1d57584d6d069e973a8dc1faa675a1c36
-
Marc-Oliver Westerburg authored
* renamed the "-v"-parameter to specify the value to be set/expected to "-e" instead to fix a parameter collision with "-v" for verbose output. * replace usage of "-v"-paramter in runtest files with new "-e"-paramter Change-Id: I9c31d2d3840ce9e1a1ba0baa1f5fecf76188fa5b
-
Marc-Oliver Westerburg authored
* renamed "-i"-parameter to set the IIO input-device to "-s" to fix collision with LTP "-i <iterations>"-parameter Change-Id: I7d1904c5ea28ef8c6f400f9c612d4d421955da9c
-
Jonas Höppner authored
Change-Id: I14f42da8aec76165600ce95ba244622d6847c115
-
Jonas Höppner authored
Change-Id: Id41988386ac73ccc112cbada23c4e770bd3eb410
-
Jonas Höppner authored
Change-Id: If8e2e46c473208194e9125fe34d08716006d7a76
-
Jonas Höppner authored
Change-Id: I2829521e20d8bbee230b8fec13e646bcd8acc72a
-
Jonas Höppner authored
Change-Id: Iee6a519d469b596210eb82dc1425f1b032464d29
-
Jonas Höppner authored
Change-Id: I302bf87d02a3192faad1fd23b3bc29a669e07566
-
Jonas Höppner authored
Change-Id: Ieaa7cf772a49d323d9901a3b4702c77d9031f981
-
Jonas Höppner authored
Change-Id: I3c6630f8bfa53af12e668f5fac38ca288a584ac7
-
Jonas Höppner authored
Change-Id: I7d8ffbdbe6212c5f044608a354d104d940adf1f5
-
Jonas Höppner authored
* The built in test called internally instead of using system to call a shell where the command is executed. * They need to be split up in setup/run/cleanup Change-Id: Idb02560d68f7a604ab0f900f843e0f309c3a4eda
-
Jonas Höppner authored
Change-Id: Ia2ee8aa5b6943d949b40987c6d6e31cf6fafb3d2
-
Jonas Höppner authored
Change-Id: I161461ae1897b88c7546aaad50ed82180a01ee14
-