component/bt:Change the bt Kconfig BT_ACL_CONNECTIONS from int to choice.
This commit is contained in:
parent
572e320795
commit
891257b4dd
1 changed files with 29 additions and 3 deletions
|
@ -59,13 +59,39 @@ config SMP_ENABLE
|
||||||
help
|
help
|
||||||
This option can be close when the app not used the ble security connect.
|
This option can be close when the app not used the ble security connect.
|
||||||
|
|
||||||
config BT_ACL_CONNECTIONS
|
choice BT_ACL_CONNECTIONS
|
||||||
int "Set the max connection number for the bt/ble device can accept, up to 7."
|
prompt "BT/BLE MAX ACL CONNECTIONS"
|
||||||
depends on BLUEDROID_ENABLED
|
depends on BLUEDROID_ENABLED
|
||||||
default 4
|
default BT_ACL_CONNECTION_4
|
||||||
help
|
help
|
||||||
Maximum BT/BLE connection count
|
Maximum BT/BLE connection count
|
||||||
|
|
||||||
|
config BT_ACL_CONNECTION_1
|
||||||
|
bool "1 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_2
|
||||||
|
bool "2 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_3
|
||||||
|
bool "3 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_4
|
||||||
|
bool "4 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_5
|
||||||
|
bool "5 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_6
|
||||||
|
bool "6 ACL CONNECT"
|
||||||
|
config BT_ACL_CONNECTION_7
|
||||||
|
bool "7 ACL CONNECT"
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config BT_ACL_CONNECTIONS
|
||||||
|
int
|
||||||
|
default 1 if BT_ACL_CONNECTION_1
|
||||||
|
default 2 if BT_ACL_CONNECTION_2
|
||||||
|
default 3 if BT_ACL_CONNECTION_3
|
||||||
|
default 4 if BT_ACL_CONNECTION_4
|
||||||
|
default 5 if BT_ACL_CONNECTION_5
|
||||||
|
default 6 if BT_ACL_CONNECTION_6
|
||||||
|
default 7 if BT_ACL_CONNECTION_7
|
||||||
|
|
||||||
config BT_STACK_NO_LOG
|
config BT_STACK_NO_LOG
|
||||||
bool "Close the bluedroid bt stack log print"
|
bool "Close the bluedroid bt stack log print"
|
||||||
depends on BLUEDROID_ENABLED
|
depends on BLUEDROID_ENABLED
|
||||||
|
|
Loading…
Reference in a new issue