This closes #166. Merge remote-tracking branch 'sjanc/sm' into develop
* sjanc/sm: nimble/sm: Make ble_sm_build_authreq static nimble/sm: Move PDU parsing functions to tests nimble/sm: Remove op parameter from ble_sm_rx_fn nimble/sm: Remove unused functions nimble/sm: Use packed structures for dhkey check nimble/sm: Use packed structures for pub key nimble/sm: Use packed structures for sec req nimble/sm: Use packed structures for sign info nimble/sm: Use packed structures for id addr info nimble/sm: Use packed structures for id info nimble/sm: Use packed structures for master id nimble/sm: Use packed structures for encrypt info nimble/sm: Use packed structures for pairing failed nimble/sm: Use packed structures for random nimble/sm: Use packed structures for confirm nimble/sm: Use packed structures for pairing req and rsp nimble/sm: Remove useless function declaration Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5728339c Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5728339c Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5728339c Branch: refs/heads/develop Commit: 5728339c97e76693d9278e902ffdcf809b57df5e Parents: 73cd55b 0189dab Author: Christopher Collins <[email protected]> Authored: Fri Jan 27 10:44:18 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Fri Jan 27 10:44:18 2017 -0800 ---------------------------------------------------------------------- net/nimble/host/src/ble_sm.c | 387 ++++++++------ net/nimble/host/src/ble_sm_cmd.c | 633 +---------------------- net/nimble/host/src/ble_sm_lgcy.c | 98 ++-- net/nimble/host/src/ble_sm_priv.h | 123 +---- net/nimble/host/src/ble_sm_sc.c | 144 ++++-- net/nimble/host/test/src/ble_sm_test_util.c | 364 +++++++++++-- 6 files changed, 742 insertions(+), 1007 deletions(-) ----------------------------------------------------------------------
