sync
This commit is contained in:
@@ -3,85 +3,38 @@ menuconfig BLE_MGMT
|
||||
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.
|
||||
Minimal BLE transport for the buzzer firmware.
|
||||
|
||||
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"
|
||||
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
|
||||
help
|
||||
Device name used when ble_mgmt_init() is called with a NULL name.
|
||||
|
||||
# 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_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
|
||||
|
||||
# BLE control/data handling runs in BT RX workqueue. Enforce a larger
|
||||
# stack while BLE_MGMT is enabled to avoid overflows on connect/file ops.
|
||||
config BT_RX_STACK_SIZE
|
||||
range 3072 8192
|
||||
default 3072
|
||||
|
||||
# Use larger BLE data path buffers for file transfer use-cases.
|
||||
config BT_L2CAP_TX_MTU
|
||||
default 498
|
||||
|
||||
config BT_BUF_ACL_RX_SIZE
|
||||
default 502
|
||||
|
||||
config BT_BUF_ACL_TX_SIZE
|
||||
default 502
|
||||
|
||||
config BT_CTLR_DATA_LENGTH_MAX
|
||||
default 251
|
||||
|
||||
module = BLE_MGMT
|
||||
module-str = ble_mgmt
|
||||
|
||||
Reference in New Issue
Block a user