mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
fix(nimble): allow auto connection and observer role
This commit is contained in:
committed by
Rahul Tank
parent
7e6e769aed
commit
e16882f0cd
@ -201,6 +201,17 @@ config BT_NIMBLE_LL_CFG_FEAT_LE_ENCRYPTION
|
|||||||
help
|
help
|
||||||
Enable encryption connection
|
Enable encryption connection
|
||||||
|
|
||||||
|
config BT_NIMBLE_SM_SC_LVL
|
||||||
|
int "Security level"
|
||||||
|
depends on BT_NIMBLE_SECURITY_ENABLE
|
||||||
|
default 0
|
||||||
|
help
|
||||||
|
LE Security Mode 1 Levels:
|
||||||
|
1. No Security
|
||||||
|
2. Unauthenticated pairing with encryption
|
||||||
|
3. Authenticated pairing with encryption
|
||||||
|
4. Authenticated LE Secure Connections pairing with encryption using a 128-bit strength encryption key.
|
||||||
|
|
||||||
config BT_NIMBLE_DEBUG
|
config BT_NIMBLE_DEBUG
|
||||||
bool "Enable extra runtime asserts and host debugging"
|
bool "Enable extra runtime asserts and host debugging"
|
||||||
default n
|
default n
|
||||||
|
Submodule components/bt/host/nimble/nimble updated: 31335a5a4f...f9adf083d8
@ -844,7 +844,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_SM_SC_LVL
|
#ifndef MYNEWT_VAL_BLE_SM_SC_LVL
|
||||||
#define MYNEWT_VAL_BLE_SM_SC_LVL (0)
|
#define MYNEWT_VAL_BLE_SM_SC_LVL CONFIG_BT_NIMBLE_SM_SC_LVL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_SM_SC_ONLY
|
#ifndef MYNEWT_VAL_BLE_SM_SC_ONLY
|
||||||
|
Reference in New Issue
Block a user