Commit: 73401290cfe79853d4957a2d603237b1e73c4b71
Parent: f246d31a775233578a7c4b721757e9fa9a49f69c
Author: Aurelien Jarno <aurelien@aurel32.net>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-12-02 22:07:28
Tree: e7cf52384250b8322e2320b5b37d0f52701c6716

mesh: fix (re)transmit count & interval steps The Foundation Model Layer uses little endian ordering. As a consequence the (re)transmit count and interval steps in the Config Relay, Config Model Publication and Config Network Transmit messages use the lower 3 bits for the (re)transmission count and the higher 5 bits for the interval steps. The figure 4.5 in section 4.3.2.16 of the Mesh Profile Bluetooth Specification provides a good clarification. This patch therefore fixes those messages for both the daemon and configuration client parts.

Diffstat

M mesh/cfgmod-server.c | 16 ++++++++- - - - - - - -
M mesh/model.c | 4 ++- -
M tools/mesh/cfgcli.c | 8 ++++- - - -

3 files changed, 14 insertions(+), 14 deletions(-)

View Full Diff | Patch