db4d67c4fd
Added HiFive1 to BOARD_INSUFFICIENT_MEMORY list for examples and tests that are too big to fit build: fixed missing syscall and cpuid failures Added missing syscall stubs for nanostubs and fixed compile error with cpuid periph build: fixed whitespace error build: add hifive1 to more BOARD_INSUFFICIENT_MEMORY doc: fixed doxygen warnings Addressed Doxygen warnings in source file comments doc: more doxygen fixes doc: even more doxygen fixes doc: more changes build: fix pedantic and rdci_simple build failures make: exclude lua |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
README.md |
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=