diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-11 15:40:02 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:33 -0800 |
commit | c8950c1e0b82ef3e849d91ffb436ac41514022a4 (patch) | |
tree | e460626c225f23b5a45fc7d2d31470cc8826f40e /host/tests/devtest | |
parent | 14fb3cc6f4c63303a7f35b81087c31eb494f7166 (diff) | |
download | uhd-c8950c1e0b82ef3e849d91ffb436ac41514022a4.tar.gz uhd-c8950c1e0b82ef3e849d91ffb436ac41514022a4.tar.bz2 uhd-c8950c1e0b82ef3e849d91ffb436ac41514022a4.zip |
examples: Send only single packets in test_messages
For the burst ACK test, test_messages would send 3 packets. However,
that assumes that the underlying link is fast enough to send three
packets in time, and some devices are hard to operate without underruns
without also specifying a start-of burst timestamp. Often, test_messages
would report that no ACK was received, but instead, an underrun was
received.
test_messages also doesn't need to send three packets. The three packets
came from the "start of burst" flag, which no device in UHD supports.
The change is thus to send a single packet with an EOB marker for the
burst ACK test. This will work regardless of the link speed and CPU
power.
Diffstat (limited to 'host/tests/devtest')
0 files changed, 0 insertions, 0 deletions