Commit: 2e46771050e6f302e4b7a8a1760ab19e68ea2385
Parent: 20585d786bd6c52f84182621cb7299e00d01b2dc
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-14 18:32:18
Tree: 0a72f16bbe06de217dc2d7fc8eb991834e81238e

mesh: Convert provisioning pkts to packed structs Provisioning packets are defined in the specification as packed big endian structures. Instead of specifying an octet array, we now use struct matching the spec.

Diffstat

M mesh/crypto.c | 8 ++++- - - -
M mesh/crypto.h | 8 ++++- - - -
M mesh/mesh.c | 2 +-
M mesh/mesh.h | 3 +- -
M mesh/pb-adv.c | 79 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - -
M mesh/prov-acceptor.c | 156 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/prov-initiator.c | 94 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/prov.h | 51 ++++++++++++++++++++++++++++++++++++++++-

8 files changed, 247 insertions(+), 154 deletions(-)

View Full Diff | Patch