You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2022/05/26 10:31:24 UTC
[mynewt-nimble] branch master updated: nimble/host/ble_sm: add restriciton for SC Only
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new edb6a287 nimble/host/ble_sm: add restriciton for SC Only
edb6a287 is described below
commit edb6a287eadc9a8a2a6fb7c60a0e0c4b912a176b
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu May 19 10:18:15 2022 +0200
nimble/host/ble_sm: add restriciton for SC Only
This mode requires MITM and SC to be on, and SM_LEGACY must be off.
---
nimble/host/syscfg.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/nimble/host/syscfg.yml b/nimble/host/syscfg.yml
index ce2acc48..04662402 100644
--- a/nimble/host/syscfg.yml
+++ b/nimble/host/syscfg.yml
@@ -104,6 +104,9 @@ syscfg.defs:
value: 0
restrictions:
- 'BLE_SM_SC_LVL == 4 if 1'
+ - BLE_SM_MITM
+ - 'BLE_SM_SC if 1'
+ - '!BLE_SM_LEGACY if 1'
BLE_SM_SC_LVL:
description: >