1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/netdev
2014-10-09 09:40:58 +02:00
..
tests netdev.tests: Kill processes properly 2014-10-08 11:12:59 +02:00
main.c netdev.tests: Remove unneccessary #ifndef path 2014-10-09 09:40:58 +02:00
Makefile netdev.tests: Add fixes for environment variables 2014-10-08 09:48:04 +02:00
README.md tests: Add functionality test for netdev_base 2014-10-01 23:22:54 +02:00

netdev tests

This application tests the module netdev, it's base module netdev_base in particular. The tests can be automated by running

SENDER=0 make all flash && SENDER=1 make all flash && make test

The values of the network addresses, the channel, and the network ID can be configured by the environment variables

  • NETDEV_TEST_RECEIVER and NETDEV_TEST_SENDER,
  • NETDEV_TEST_CHANNEL,
  • NETDEV_TEST_NID

You can set the role of the application by setting the SENDER variable to either 0 (application is receiver) or any other value (applictation is sender), but keep in mind, that both versions have to be flashed to to seperate devices (identified by RECEIVER_PORT and SENDER_PORT respectively) in order for make test to succeed.