91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
menuconfig BLE_MGMT
|
|
bool "Bluetooth Management"
|
|
default n
|
|
select BT
|
|
select BT_PERIPHERAL
|
|
select BT_LOG_LEVEL_WARN
|
|
select BT_DEVICE_NAME_DYNAMIC
|
|
help
|
|
Library for initializing and managing Bluetooth functionality.
|
|
|
|
if BLE_MGMT
|
|
config BLE_MGMT_TX_QUEUE_DEPTH
|
|
int "BLE TX queue depth"
|
|
default 32
|
|
help
|
|
Number of notification payloads that can be queued in the BLE transport.
|
|
|
|
config BLE_MGMT_DEFAULT_DEVICE_NAME
|
|
string "Default Bluetooth Device Name"
|
|
default "Edis Buzzer"
|
|
config BLE_MGMT_ADV_INT_MIN
|
|
int "Minimum Advertising Interval (in 0.625 ms units)"
|
|
default 160
|
|
help
|
|
Minimal advertising interval. 160 equals to 100ms.
|
|
config BLE_MGMT_ADV_INT_MAX
|
|
int "Maximum Advertising Interval (ms)"
|
|
default 160
|
|
help
|
|
Maximal advertising interval. 160 equals to 100ms.
|
|
|
|
# Airtime
|
|
config BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT
|
|
default 4000000
|
|
|
|
# MTU Setup
|
|
config BT_BUF_ACL_RX_SIZE
|
|
default 502
|
|
config BT_BUF_ACL_TX_SIZE
|
|
default 502
|
|
config BT_L2CAP_TX_MTU
|
|
default 498
|
|
config BT_CTLR_DATA_LENGTH_MAX
|
|
default 251
|
|
|
|
# Buffers
|
|
config BT_BUF_ACL_TX_COUNT
|
|
default 15
|
|
config BT_L2CAP_TX_BUF_COUNT
|
|
default 15
|
|
config BT_CONN_TX_MAX
|
|
default 15
|
|
config BT_CTLR_SDC_TX_PACKET_COUNT
|
|
default 15
|
|
config BT_CTLR_SDC_RX_PACKET_COUNT
|
|
default 15
|
|
config BT_BUF_EVT_RX_COUNT
|
|
default 16
|
|
|
|
# Callbacks
|
|
config BT_USER_PHY_UPDATE
|
|
default y
|
|
config BT_USER_DATA_LEN_UPDATE
|
|
default y
|
|
|
|
# Automatic updates
|
|
config BT_AUTO_PHY_UPDATE
|
|
default y
|
|
config BT_AUTO_DATA_LEN_UPDATE
|
|
default y
|
|
config BT_GAP_AUTO_UPDATE_CONN_PARAMS
|
|
default y
|
|
|
|
# Preferred defaults
|
|
config BT_PERIPHERAL_PREF_MIN_INT
|
|
default 6
|
|
config BT_PERIPHERAL_PREF_MAX_INT
|
|
default 40
|
|
config BT_PERIPHERAL_PREF_LATENCY
|
|
default 0
|
|
config BT_PERIPHERAL_PREF_TIMEOUT
|
|
default 400
|
|
|
|
# Connections
|
|
config BT_MAX_CONN
|
|
default 2
|
|
|
|
module = BLE_MGMT
|
|
module-str = ble_mgmt
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
endif # BLE_MGMT |