1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_tcp_server
Marian Buschsieweke 0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
..
main.c gnrc_tcp: fix test setup 2019-02-16 08:23:20 +01:00
Makefile tests: Updated Updated BOARD_INSUFFICIENT_MEMORY 2019-03-14 15:39:54 +01:00
README.md gnrc_tcp: cleanup: various minor changes 2017-04-25 20:02:44 +02:00

Test description

This test starts a server using GNRC TCP. The test is intended to work with gnrc_tcp_client.

On startup the server assigns a given IP-Address to its network interface and opens a given port number waiting for a client to connect to this port. As soon as a client connects the server expects to receive 2048 byte containing a sequence of a test pattern (0xF0).

After successful verification, the server sends 2048 byte with a test pattern (0xA7) to the peer. After successful transmission the connection termination sequence is initiated.

The test sequence above runs a configurable amount of times.

Usage (native)

Build and run test: make clean all term

Build and run test, user specified local address: make clean all term TCP_LOCAL_ADDR=

Build and run test, user specified local port: make clean all term TCP_LOCAL_PORT=

Build and run test, user specified amount of test cycles: make clean all term TCP_TEST_CYLES=

Build and run test, fully specified: make clean all term TCP_LOCAL_ADDR= TCP_LOCAL_PORT= TCP_TEST_CYLES=