From 97ebc00176617d346d5d2ebc07f5fbd6823d0cf4 Mon Sep 17 00:00:00 2001 From: pstruebi Date: Thu, 30 Apr 2026 17:16:35 +0200 Subject: [PATCH] move comments above config lines and enable dynamic TX power control --- iso.conf | 6 ++++-- prj.conf | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/iso.conf b/iso.conf index ecee63d..d0a190d 100644 --- a/iso.conf +++ b/iso.conf @@ -11,7 +11,8 @@ CONFIG_BT_CTLR_ADV_ISO_PDU_LEN_MAX=140 # ISO Transmissions CONFIG_BT_CTLR_ISOAL_SOURCES=5 -CONFIG_BT_CTLR_ISO_TX_BUFFERS=2 # One of those needs to 2 to support stereo +# One of those needs to 2 to support stereo +CONFIG_BT_CTLR_ISO_TX_BUFFERS=2 CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=255 CONFIG_BT_BUF_EVT_RX_SIZE=255 @@ -23,7 +24,8 @@ CONFIG_BT_CTLR_ASSERT_HANDLER=y CONFIG_BT_CTLR_DTM_HCI=n # Setup ISO Buffer -CONFIG_BT_ISO_TX_BUF_COUNT=2 # One of those needs to 2 to support stereo +# One of those needs to 2 to support stereo +CONFIG_BT_ISO_TX_BUF_COUNT=2 CONFIG_BT_CTLR_SDC_ISO_TX_PDU_BUFFER_PER_STREAM_COUNT=1 CONFIG_BT_ISO_TX_MTU=140 CONFIG_BT_ISO_RX_BUF_COUNT=10 diff --git a/prj.conf b/prj.conf index 6e9ce18..899ac28 100644 --- a/prj.conf +++ b/prj.conf @@ -13,6 +13,12 @@ CONFIG_BT=y CONFIG_BT_CTLR=y CONFIG_BT_LL_SOFTDEVICE=y CONFIG_BT_CTLR_TX_PWR_PLUS_8=y # or _PLUS_8, _MINUS_4, … +# Enable per-role/per-set dynamic TX power control via the Zephyr VS HCI +# commands (Write/Read_TX_Power_Level). The standard +# HCI_LE_Set_Extended_Advertising_Parameters command is honored by the SDC +# regardless, but enabling this exposes the VS commands for read-back and +# possible future live TX power adjustment without re-parameterizing the set. +CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y CONFIG_BT_HCI_RAW=y CONFIG_BT_HCI_RAW_H4=y