mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 06:32:45 +01:00
c1be18a002
`tests/gnrc_udp` was specifically introduced for testing the release specs. All of them ask the tester to check the packet buffer after the test. So it makes sense to include the module that allows for that per default for this test so the tester does not forget to include it ;-). |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
README.md | ||
udp.c |
UDP test
This test is largely based on the gnrc_networking
example but uses a
modified udp
command: Instead of providing data in a string format a number of
bytes is given. A packet of that size is then send, its content consisting of an
incrementing repeating byte.
The server is also modified as it outputs the number of currently received
packets when a new packet is received instead of the content of the new packet.
This counter can be reset using udp reset