mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'feat/add_static_passkey_v6.0' into 'release/v6.0'
feat(nimble): Add support for static passkey (v6.0) See merge request espressif/esp-idf!44441
This commit is contained in:
@@ -1250,7 +1250,12 @@ menu "Extra Features"
|
||||
help
|
||||
Enable connection subrate change feature
|
||||
|
||||
|
||||
config BT_NIMBLE_STATIC_PASSKEY
|
||||
bool "Enable support for Static Passkey"
|
||||
default n
|
||||
depends on BT_NIMBLE_ENABLED && BT_NIMBLE_SECURITY_ENABLE
|
||||
help
|
||||
Enable support for user defined static passkey for SMP
|
||||
endmenu
|
||||
|
||||
menu "NimBLE Mesh"
|
||||
|
||||
Submodule components/bt/host/nimble/nimble updated: 872f3c1849...445bdeb281
@@ -2230,4 +2230,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_STATIC_PASSKEY
|
||||
#ifdef CONFIG_BT_NIMBLE_STATIC_PASSKEY
|
||||
#define MYNEWT_VAL_STATIC_PASSKEY CONFIG_BT_NIMBLE_STATIC_PASSKEY
|
||||
#else
|
||||
#define CONFIG_BT_NIMBLE_STATIC_PASSKEY (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user