Commit: e170ce6fba549287cffa81bd52b62c4555c00722
Parent: 81cba0be7e27777f629370ecab5f065fdf47eca9
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-07-29 21:58:50
Tree: cd7dba9447baf6e0aff723a7c548ec5fe96cd48b

mesh: Fix calculation of model publication period This fixes the extraction of bit fields from model publication period octet received as part of Congif Publication Set message. The step resolution field is extracted as upper 2 bits (shift by 6) and the number of steps field is extracted by masking lower 6 bits.

Diffstat

M mesh/model.c | 15 ++++++++- - - - - - -

1 files changed, 8 insertions(+), 7 deletions(-)

View Full Diff | Patch