You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2024/03/21 07:52:52 UTC
(mynewt-nimble) 04/07: nimble/host: Fix EATT restrictions in syscfg
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 3d6bfda185a6574c19652a3ab0ca998abdfaa85f
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Fri Mar 15 09:01:19 2024 +0100
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.
---
nimble/host/syscfg.yml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/nimble/host/syscfg.yml b/nimble/host/syscfg.yml
index 2848b648d..69db7dfd3 100644
--- a/nimble/host/syscfg.yml
+++ b/nimble/host/syscfg.yml
@@ -310,18 +310,22 @@ syscfg.defs:
due to memory exhaustion. (0/1) Units are milliseconds. (0/1)
value: 1000
- # Supported server ATT commands. (0/1)
+ # Enhanced ATT bearer options
BLE_EATT_CHAN_NUM:
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
- 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:
description: >
MTU used for EATT channels.
value: 128
+ # Supported server ATT commands. (0/1)
BLE_ATT_SVR_FIND_INFO:
description: >
Enables processing of incoming Find Information Request ATT