-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/semtech-loramac: provide a way to disable dutycycle #11241
Conversation
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
@aabadie Maybe some documentarion in tests/pkg_semtech_loramac? That way it isn't in the public examples but only in the tests. And is properly documented for running CI test or stuff like that. |
Good idea, I pushed e5831cf that contains this. |
@aabadie like it! |
Thanks @fjmolinas, now I just need an ACK. Maybe @jia200x ? |
ping @jia200x |
the change makes sense. I will test it now |
it works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Contribution description
This PR provides an hidden way to disable the loramac duty-cycle restriction.
See problems with OTAA and STOP mode explained in #11237 for details.
I want this change to remain hidden (not in the public API) because this is only for testing purpose normally, as explained in loramac-node code. But maybe it's worth to document it somewhere ? suggestions are welcome.
Testing procedure
tests/pkg_semtech-loramac
with CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLEIssues/PRs references
This PR provides a fix for OTAA + STOP deep-sleep mode that was raised in #11237