-
Notifications
You must be signed in to change notification settings - Fork 1.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
Bluetooth: Mesh: fix NO_ACTIONS scheduling #20054
Bluetooth: Mesh: fix NO_ACTIONS scheduling #20054
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: fe3772dc0061534852893881aab190e6966cf830 more detailssdk-nrf:
Github labels
List of changed files detected by CI (2)
Outputs:ToolchainVersion: 342151af73 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
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.
Action still remains in persistent memory. If this is periodic action, it will start again after reset device.
Won't it be cleared here? https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/mesh/scheduler_srv.c#L647 |
e5db06a
to
f8b36f9
Compare
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.
LGTM just the minor comment
I suppose it is worth to provide PR link in Firesquad channel request, that customer can cherry-pick fix before release.
They're in-the-loop through Jira, I'll ping them once it's merged :) |
f8b36f9
to
1e05d9e
Compare
If the Scheduler Setup Server receives a Scheduler Action Set message setting the next scheduled task to NO_ACTIONS, it will schedule the next task in line. Previously, the "canceled" task would be executed if it was first in line. Signed-off-by: Håvard Reierstad <[email protected]>
1e05d9e
to
be56440
Compare
Adds a unit test for the scheduler model to verify that setting the entry for the scheduled action to "NO_ACTIONS" will cancel the action. Signed-off-by: Håvard Reierstad <[email protected]>
8c0bf78
to
fe3772d
Compare
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.
Looks good to me.
If the Scheduler Setup Server receives a Scheduler Action Set message setting the next scheduled task to NO_ACTIONS, it will schedule the next task in line.
Previously, the "canceled" task would be executed if it was first in line.