Commit: f246d31a775233578a7c4b721757e9fa9a49f69c
Parent: 100dfc45018878ef0b5d66316687fb6d4318c4ac
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-11-28 23:49:59
Tree: d654ae9691b82bd528001d9aa3e8a09adb6657bc

mesh: Friendship clean-up and rewrite Friendship support re-written such that it can now support multiple nodes (on multiple mesh networks) as friends to remote Low Power Nodes (LPNs). Validated to properly respond to Friend Requests when enabled, and a hard coded Friend Queue size of 32 (FRND_CACHE_MAX).

Diffstat

M mesh/crypto.c | 4 ++- -
M mesh/friend.c | 610 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/friend.h | 7 ++++- - -
M mesh/net.c | 305 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/net.h | 31 ++++++++++++++++++++++++- - - - - - -
M mesh/node.c | 2 +-

6 files changed, 263 insertions(+), 696 deletions(-)

View Full Diff | Patch