1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_udp
Marian Buschsieweke b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
..
main.c tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
Makefile makefiles: Refactored channel configuration 2019-09-10 10:04:52 +02:00
README.md tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
udp.c examples,tests: use gnrc_netif_hdr_set_netif() 2019-09-10 12:37:32 +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