Commit: 902389f3e7a33e5730d7e2318b1f1868170dc092
Parent: 1ef221ca020581575a3775ec60c0a28e384081be
Author: Isak Westin <isak.westin@loytec.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2022-09-26 23:14:47
Tree: a3b4a55a10c46af545919572aadcd08980c0f7e4

mesh: Correct HB sub state updates If heartbeat subscription is disabled, all fields should be set to zero but collected data should be preserved. If HB subscription is enabled, the collected data should be reset (which includes Min Hops = 0x7f). HB subscription is disabled by setting any of the following fields to zero: Source, destination or period log. HB subscription is enabled by setting all the same fields to valid values.

Diffstat

M mesh/cfgmod-server.c | 2 +-
M mesh/net.c | 20 ++++- - - - - - - - - - - - - - - -

2 files changed, 5 insertions(+), 17 deletions(-)

View Full Diff | Patch