Merge branch 'config/nimble_params' into 'master'
NimBLE: Give an option to configuration no of bonds and CCCD's to save through menuconfig See merge request espressif/esp-idf!5563
This commit is contained in:
commit
ad966d9375
2 changed files with 16 additions and 2 deletions
|
@ -7,6 +7,20 @@ config BT_NIMBLE_MAX_CONNECTIONS
|
||||||
help
|
help
|
||||||
Defines maximum number of concurrent BLE connections
|
Defines maximum number of concurrent BLE connections
|
||||||
|
|
||||||
|
config BT_NIMBLE_MAX_BONDS
|
||||||
|
int "Maximum number of bonds to save across reboots"
|
||||||
|
default 3
|
||||||
|
depends on BT_NIMBLE_ENABLED
|
||||||
|
help
|
||||||
|
Defines maximum number of bonds to save for peer security and our security
|
||||||
|
|
||||||
|
config BT_NIMBLE_MAX_CCCDS
|
||||||
|
int "Maximum number of CCC descriptors to save across reboots"
|
||||||
|
default 8
|
||||||
|
depends on BT_NIMBLE_ENABLED
|
||||||
|
help
|
||||||
|
Defines maximum number of CCC descriptors to save
|
||||||
|
|
||||||
config BT_NIMBLE_L2CAP_COC_MAX_NUM
|
config BT_NIMBLE_L2CAP_COC_MAX_NUM
|
||||||
int "Maximum number of connection oriented channels"
|
int "Maximum number of connection oriented channels"
|
||||||
range 0 10
|
range 0 10
|
||||||
|
|
|
@ -568,11 +568,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_STORE_MAX_BONDS
|
#ifndef MYNEWT_VAL_BLE_STORE_MAX_BONDS
|
||||||
#define MYNEWT_VAL_BLE_STORE_MAX_BONDS (3)
|
#define MYNEWT_VAL_BLE_STORE_MAX_BONDS CONFIG_BT_NIMBLE_MAX_BONDS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_STORE_MAX_CCCDS
|
#ifndef MYNEWT_VAL_BLE_STORE_MAX_CCCDS
|
||||||
#define MYNEWT_VAL_BLE_STORE_MAX_CCCDS (8)
|
#define MYNEWT_VAL_BLE_STORE_MAX_CCCDS CONFIG_BT_NIMBLE_MAX_CCCDS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST
|
#ifndef MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST
|
||||||
|
|
Loading…
Reference in a new issue