tests/ieee802154_hal: extend radio hal test #16591
Closed
LarsKowoll wants to merge 2 commits into
Closed
Conversation
6567ce9 to
28e7df7
Compare
MrKevinWeiss
left a comment
Contributor
There was a problem hiding this comment.
First thing I noticed was you should revert all the printf("something\n") back to puts("something"), less changes are better.
The RIOTCTRL flag is a bit questionable to me but probably OK for now. Any test is better than no test.
I will have to try it out later on.
Contributor
|
Ran the test with the release specs PR and things pass: Details |
Contributor
|
Lets just see what the CI says? |
Member
|
CI seems to be happy |
Contributor
|
static-tests is not so happy though |
Contributor
|
ping @jia200x @LarsKowoll |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refers to #15761, because it was hard to rebase
Contribution description
Testing procedure
There is a automated test in riotctrl. RIOT-OS/Release-Specs#222
It can be called in Release-Specs via
tox -- -k "spec12" --non-RC --localCurrently there a three test:
All tests pass.
For manual testing you need two boards and flash it with tests/ieee802154_hal
Usage of the function spam:
Call spam on board with the parameters
If you call spam with the parameters
spam <address_board2> 5 3 1The device will send a packet to device2 every 1 ms with a payload of 3 Chars in total 5 packets will be send.
You can set device2 in reply mode, means it will sends every packet back he receives, by calling the function reply. Just make sure to be easy on the delay otherwise the radio won't be able to handle this.
Issues/PRs references
None