This is an automated email from the ASF dual-hosted git repository.
hauke 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 99f162e npl/riot: disable SM in default configuration
99f162e is described below
commit 99f162e7694006ecc59f11f251f2b71ec4d91a80
Author: Hauke Petersen <[email protected]>
AuthorDate: Thu Feb 13 10:24:11 2020 +0100
npl/riot: disable SM in default configuration
---
porting/npl/riot/include/syscfg/syscfg.h | 2 +-
porting/targets/riot/syscfg.yml | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/porting/npl/riot/include/syscfg/syscfg.h
b/porting/npl/riot/include/syscfg/syscfg.h
index 4056ca9..2513c48 100644
--- a/porting/npl/riot/include/syscfg/syscfg.h
+++ b/porting/npl/riot/include/syscfg/syscfg.h
@@ -1358,7 +1358,7 @@
#endif
#ifndef MYNEWT_VAL_BLE_SM_LEGACY
-#define MYNEWT_VAL_BLE_SM_LEGACY (1)
+#define MYNEWT_VAL_BLE_SM_LEGACY (0)
#endif
#ifndef MYNEWT_VAL_BLE_SM_MAX_PROCS
diff --git a/porting/targets/riot/syscfg.yml b/porting/targets/riot/syscfg.yml
index 963c8a6..3903330 100644
--- a/porting/targets/riot/syscfg.yml
+++ b/porting/targets/riot/syscfg.yml
@@ -25,6 +25,8 @@ syscfg.vals:
BLE_LL_CFG_FEAT_LE_ENCRYPTION: 0
BLE_LL_CFG_FEAT_LL_PRIVACY: 0
BLE_LL_CONN_INIT_MAX_TX_BYTES: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
+ BLE_SM_LEGACY: 0
+ BLE_SM_SC: 0
BLE_MAX_PERIODIC_SYNCS: 0
MSYS_1_BLOCK_COUNT: 5
MSYS_1_BLOCK_SIZE: 88