Skip to content

Commit 82086b8

Browse files
ppryga-nordicnordicjm
authored andcommitted
samples: Bluetooth: Make the connectionless TX AoD disabled by default
Change the configuration of DF connectionless TX sample to disable the TX AoD (antenna switching TX) by default. The configuration is available when the sample is build with the Zephyr's BLE controller. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 60c0635 commit 82086b8

File tree

8 files changed

+26
-19
lines changed

8 files changed

+26
-19
lines changed

samples/bluetooth/direction_finding_connectionless_tx/boards/nrf52833dk_nrf52820.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ CONFIG_BT_CTLR_DF=y
1111
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
1212
CONFIG_BT_CTLR_DF_SCAN_CTE_RX=n
1313

14-
# Disable AoD Feature (antenna switching) in Tx mode in Contoller
15-
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
14+
# Disable AoD Feature (antenna switching) in Tx mode in Controller
15+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n

samples/bluetooth/direction_finding_peripheral/README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Configuration
4040
:start-after: bt_dir_finding_tx_aoa_mode_start
4141
:end-before: bt_dir_finding_tx_aoa_mode_end
4242

43+
.. include:: /samples/bluetooth/direction_finding_connectionless_tx/README.rst
44+
:start-after: bt_dir_finding_tx_aod_mode_start
45+
:end-before: bt_dir_finding_tx_aod_mode_end
46+
4347
.. include:: /samples/bluetooth/direction_finding_connectionless_tx/README.rst
4448
:start-after: bt_dir_finding_tx_ant_aod_start
4549
:end-before: bt_dir_finding_tx_ant_aod_end

samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52820.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ CONFIG_BT_CTLR_DF=y
99

1010
CONFIG_BT_CTLR_DF_CTE_TX=y
1111
CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
12-
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
1312
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
13+
14+
# Disable AoD Feature (antenna switching) in Tx mode in Controller
15+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n

samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52833.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ CONFIG_BT_CTLR_DF=y
99

1010
CONFIG_BT_CTLR_DF_CTE_TX=y
1111
CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
12-
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
1312
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
13+
14+
# Disable AoD Feature (antenna switching) in Tx mode in Controller
15+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n

samples/bluetooth/direction_finding_peripheral/overlay-aoa.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Enable AoD Feature (antenna switching) in Tx mode in Controller and Host
8+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
9+
CONFIG_BT_DF_CTE_TX_AOD=y

samples/bluetooth/direction_finding_peripheral/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ CONFIG_BT_DEVICE_APPEARANCE=833
1616
CONFIG_BT_DF=y
1717
CONFIG_BT_DF_CONNECTION_CTE_TX=y
1818
CONFIG_BT_DF_CONNECTION_CTE_RSP=y
19+
20+
# Disable AoD Feature (antenna switching) in Tx mode in Host
21+
CONFIG_BT_DF_CTE_TX_AOD=n

samples/bluetooth/direction_finding_peripheral/sample.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sample:
55
tests:
66
sample.bluetooth.direction_finding_peripheral.aoa.sdc.nrf52_nrf53:
77
sysbuild: true
8-
extra_args:
9-
- OVERLAY_CONFIG="overlay-aoa.conf"
108
build_only: true
119
platform_allow:
1210
- nrf52833dk/nrf52833
@@ -23,7 +21,6 @@ tests:
2321
sysbuild: false
2422
build_only: true
2523
extra_args:
26-
- OVERLAY_CONFIG="overlay-aoa.conf;overlay-bt_ll_sw_split.conf"
2724
- SNIPPET="bt-ll-sw-split"
2825
platform_allow:
2926
- nrf52833dk/nrf52833
@@ -36,7 +33,6 @@ tests:
3633
sysbuild: true
3734
build_only: true
3835
extra_args:
39-
- OVERLAY_CONFIG="overlay-aoa.conf"
4036
- ipc_radio_OVERLAY_CONFIG="../../overlay-bt_ll_sw_split.conf"
4137
- ipc_radio_SNIPPET="bt-ll-sw-split"
4238
platform_allow:
@@ -50,7 +46,7 @@ tests:
5046
sysbuild: false
5147
build_only: true
5248
extra_args:
53-
- OVERLAY_CONFIG="overlay-bt_ll_sw_split.conf"
49+
- OVERLAY_CONFIG="overlay-aod.conf;overlay-bt_ll_sw_split.conf"
5450
- SNIPPET="bt-ll-sw-split"
5551
platform_allow:
5652
- nrf52833dk/nrf52833
@@ -63,7 +59,7 @@ tests:
6359
sysbuild: true
6460
build_only: true
6561
extra_args:
66-
- ipc_radio_OVERLAY_CONFIG="../../overlay-bt_ll_sw_split.conf"
62+
- ipc_radio_OVERLAY_CONFIG="../../overlay-aod.conf;../../overlay-bt_ll_sw_split.conf"
6763
- ipc_radio_SNIPPET="bt-ll-sw-split"
6864
platform_allow:
6965
- nrf5340dk/nrf5340/cpuapp

0 commit comments

Comments
 (0)