1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_sock_neterr
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
tests tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
main.c tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
Makefile Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00

This is a simple proof of concept test, that gnrc_sock with gnrc_neterr works as expected to report errors within the network stack up to the sock object.

It just tests if the sock reports -EHOSTUNREACH when sending to an unreachable address. To confirm that this is indeed coming from the stack and not the sock wrapper you can do

git grep EHOSTUNREACH -- sys/net/gnrc/sock