1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_udp
Martine Lenders 08964079e0
examples: tests: adapt udp shell commands for new forwarding engine
The NIB's forwarding engine behaves more correctly than GNRC's old
forwarding engine in that link-local addresses require also an
interface to be provided to be meaningful. As with other commands this
is simplified for the special case that there only is one interface
that that interface is chosen.
2017-11-21 10:40:01 +01:00
..
main.c tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
Makefile boards: removed support for weio 2017-08-28 12:11:51 +02:00
README.md tests: add application for release specs 6 2017-06-27 14:49:20 +02:00
udp.c examples: tests: adapt udp shell commands for new forwarding engine 2017-11-21 10:40:01 +01: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