-
Notifications
You must be signed in to change notification settings - Fork 3k
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
LoRaWAN fix over consumption on scheduled tx #15464
LoRaWAN fix over consumption on scheduled tx #15464
Conversation
Should we request a review from ARMmbed/mbed-os-example-lorawan#227 actors ? |
Not sure it's related because it's happening only in between "We want to send a packet" and "we send the packet" so in 99% of time delay in between is very short (so related impact). Except is on Network Join phase, where each join retry is delayed to avoid flooding network (see below).
But does not hurt to give a try. |
Thanks @jeromecoutant for referencing these 2 issues and going back to one of them. Lets see if anyone responds. |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Put Radio into sleep mode when waiting for scheduled transmit packet
Impact of changes
When TX packet send is scheduled, Radio is not put into sleep mode waiting time to TX. This is causing overconsumption. In majority of case the impact is minimal because radio packet is sent quickly, but in case of failed join and Duty Cycle activated (device not declared on NS or no network) the join process delay next try on each attempt and it can be very long causing overconsumption and draining battery.
On STM32WL consumption is 650uA instead 1.5uA waiting time to send packet this PR put the radio into sleep mode in the interval.
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@jeromecoutant @0xc0170