-
Notifications
You must be signed in to change notification settings - Fork 7.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
ble_mesh: Fix OP_TIME_SET and OP_TIME_STATUS (IDFGH-12074) #13135
base: master
Are you sure you want to change the base?
Conversation
👋 Hello s0be, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Anything I need to do to get this reviewed/merged? |
@forx157 We're still carrying this patch. It's obvious this is a bug, what do I need to do to get this merged? |
Hi, @s0be |
Hi, @s0be |
Thanks @forx157 I think I did it? I'm more familiar with PRs on gitlab than github. |
Hi, @s0be |
@@ -386,7 +387,8 @@ static void time_set(struct bt_mesh_model *model, | |||
change.time_set.subsecond = srv->state->time.subsecond; | |||
change.time_set.uncertainty = srv->state->time.uncertainty; | |||
change.time_set.time_authority = srv->state->time.time_authority; | |||
change.time_set.tai_utc_delta_curr = srv->state->time.subsecond; | |||
change.time_set.tai_utc_delta_curr = srv->state->time.tai_utc_delta_curr; | |||
change.time_set.time_zone_offset_curr = srv->state->time.time_zone_offset_curr |
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.
change.time_set.time_zone_offset_curr = srv->state->time.time_zone_offset_curr | |
change.time_set.time_zone_offset_curr = srv->state->time.time_zone_offset_curr; |
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.
Sorry about that, split this out of a larger patch series and didn't notice there was a fixup in a later commit.
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.
@forx157 friendly nudge. I pushed the semicolon.
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.
Hi, @s0be
The changes you've committed have been merged into the internal branch and will be synced to github in the future!
When a user app is handling these messages, the tai_utc_delta and time_zone_offset fields are not correctly populated. Resolve by properly setting the fields.
When a user app is handling these messages, the tai_utc_delta and time_zone_offset fields are not correctly populated. Resolve by properly setting the fields. Signed-off-by: luoxu <luoxu@espressif.com> Closes #13135
When a user app is handling these messages, the tai_utc_delta and time_zone_offset fields are not correctly populated. Resolve by properly setting the fields. Signed-off-by: luoxu <luoxu@espressif.com> Closes #13135
When a user app is handling these messages, the tai_utc_delta and time_zone_offset fields are not correctly populated. Resolve by properly setting the fields.