mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-18 07:50:02 +00:00
nimble/host: Fix EATT restrictions in syscfg
EATT requires Enhanced COC and number of available channels should be at least that of supported EATT channels.
This commit is contained in:
@@ -310,18 +310,22 @@ syscfg.defs:
|
|||||||
due to memory exhaustion. (0/1) Units are milliseconds. (0/1)
|
due to memory exhaustion. (0/1) Units are milliseconds. (0/1)
|
||||||
value: 1000
|
value: 1000
|
||||||
|
|
||||||
# Supported server ATT commands. (0/1)
|
# Enhanced ATT bearer options
|
||||||
BLE_EATT_CHAN_NUM:
|
BLE_EATT_CHAN_NUM:
|
||||||
description: >
|
description: >
|
||||||
Number of CoC channels allocated to EATT
|
Maximum number of supported EATT channels (in total). If set to 0
|
||||||
|
EATT support it disabled.
|
||||||
value: 0
|
value: 0
|
||||||
restrictions: BLE_GATT_NOTIFY_MULTIPLE
|
restrictions:
|
||||||
|
- BLE_GATT_NOTIFY_MULTIPLE
|
||||||
|
- BLE_L2CAP_ENHANCED_COC
|
||||||
|
- 'BLE_L2CAP_COC_MAX_NUM >= BLE_EATT_CHAN_NUM'
|
||||||
BLE_EATT_MTU:
|
BLE_EATT_MTU:
|
||||||
description: >
|
description: >
|
||||||
MTU used for EATT channels.
|
MTU used for EATT channels.
|
||||||
value: 128
|
value: 128
|
||||||
|
|
||||||
|
# Supported server ATT commands. (0/1)
|
||||||
BLE_ATT_SVR_FIND_INFO:
|
BLE_ATT_SVR_FIND_INFO:
|
||||||
description: >
|
description: >
|
||||||
Enables processing of incoming Find Information Request ATT
|
Enables processing of incoming Find Information Request ATT
|
||||||
|
|||||||
Reference in New Issue
Block a user