1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 06:32:45 +01:00
RIOT/tests/gnrc_udp
Martine Lenders c1be18a002 tests/gnrc_udp: include gnrc_pktbuf_cmd per default
`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 ;-).
2019-04-24 16:45:25 +02:00
..
main.c tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
Makefile tests/gnrc_udp: include gnrc_pktbuf_cmd per default 2019-04-24 16:45:25 +02:00
README.md tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
udp.c tests/gnrc_udp: fix printf format string (%d->%u). 2019-04-11 11:26:02 +02:00

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