Commit: c77bb848a9fb4e37e90109b0a97e68a3335a2734
Parent: 1836a4e09efa68e2c5d911e0b49de9563eea3cd3
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-08-11 00:48:55
Tree: d708aace739c89825e644c7f6f470ba6e068a208

mesh: Refactor heartbeat pub/sub Move heartbeat publication/subscription timers and housekeeping to net.c since this is where the trigger events and control messages are handled. Configuration server (cfgmod-server.c) stays responsible for parsing the set pub/sub message parameters and assemblying the pub/sub status messages. Also, make sure that the correct message status is reported.

Diffstat

M mesh/cfgmod-server.c | 307 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/net.c | 273 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/net.h | 48 +++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - -

3 files changed, 328 insertions(+), 300 deletions(-)

View Full Diff | Patch