v5 - addressed more of Brian's comments. Added missing range checking ******************* v4 - Further fixes in handling Key Refresh Phase Set message ******************* v3 - address Brian's comments ******************* This patch set groups functionality by config messages. Also, fixes the cases where malformed messages should be silently ignored and the situations when incorrect error status is sent in response. Inga Stotland (10): mesh: Clean up handling of config subscription messages mesh: Clean up handling of config model binding messages mesh: Clean up handling of config node identity message mesh: Clean up handling of config publication messages mesh: Clean up handling of config net and app key messages mesh: Clean up handling of config relay messages mesh: Clean up handling of config poll timeout message mesh: Clean up handling of config net transmit messages mesh: Clean up handling of config KR phase messages mesh: Refactor heartbeat pub/sub mesh/cfgmod-server.c | 1198 +++++++++++++++++---------------------- mesh/cfgmod.h | 2 +- mesh/mesh-config-json.c | 12 +- mesh/mesh-config.h | 6 +- mesh/mesh-defs.h | 6 + mesh/model.c | 238 ++++---- mesh/model.h | 21 +- mesh/net.c | 326 +++++++---- mesh/net.h | 54 +- mesh/node.h | 4 - 10 files changed, 924 insertions(+), 943 deletions(-) -- 2.26.2