- correct test period from 100ms to 1000ms, to match description - moved description to separate README.md - changed timer message type from 44 to 42, for nerdiness - minor code enhancements
|6 years ago|
|tests||6 years ago|
|Makefile||7 years ago|
|README.md||6 years ago|
|main.c||6 years ago|
test application for xtimer_msg_receive_timeout()
This test will sequentially start TEST_COUNT xtimers to send a IPC msg, alternating with an interval of TEST_PERIOD +/- 10%. Every time a timer was set, it will wait for a message for at most TEST_PERIOD microseconds. This should succeed with a message or fail with timeout in an alternating manner.
Default values are TEST_COUNT = 10, and TEST_PERIOD = 100ms = 100000us.