Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix missleading logs #260

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Fix missleading logs #260

merged 1 commit into from
Sep 16, 2020

Conversation

Mandur
Copy link
Contributor

@Mandur Mandur commented Sep 4, 2020

A wrong "the provided RX2DataRate is not valid" was displayed on the join logs in case a custom RX2DR is not set.

@Mandur Mandur added the fullci Run full continuous integration label Sep 4, 2020
@fbeltrao
Copy link
Collaborator

fbeltrao commented Sep 7, 2020

If I understand correctly the change is that we only validate if a RX2 was actually defined. Before, the log indicating invalid value would be written even if one was not set.

@fbeltrao
Copy link
Collaborator

fbeltrao commented Sep 7, 2020

Do we have unit tests that cover the desired value being out of the limits?

@Mandur
Copy link
Contributor Author

Mandur commented Sep 7, 2020

Yes in Check_Correct_RXPK_Datr_Are_Accepted and Check_incorrect_RXPK_Datr_Are_Refused in rxpktest.cs

@Mandur Mandur merged commit 305926f into dev Sep 16, 2020
This was referenced Dec 20, 2020
@Mandur Mandur deleted the mik-dev-fix-logs branch May 16, 2021 18:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
fullci Run full continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants