Skip to content

Commit fed1bab

Browse files
ryanjhrlubos
authored andcommitted
samples: Bluetooth: Use SDC for Direction Finding Peripheral AoA
Use SoftDevice Controller as default for Direction Finding Peripheral AoA sample. This change applies the same fix from #17954. Signed-off-by: Ryan Chu <[email protected]>
1 parent 5d044fd commit fed1bab

File tree

6 files changed

+71
-49
lines changed

6 files changed

+71
-49
lines changed

samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52820.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
66

7-
CONFIG_BT_CTLR=y
8-
CONFIG_BT_LL_SW_SPLIT=y
9-
107
# Enable Direction Finding Feature including AoA and AoD
118
CONFIG_BT_CTLR_DF=y
129

1310
CONFIG_BT_CTLR_DF_CTE_TX=y
1411
CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
1512
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
1613
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
17-
18-
# Ensure that there are enough control procedure contexts to queue and execute all procedures
19-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
20-
CONFIG_BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM=6

samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52833.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
66

7-
CONFIG_BT_CTLR=y
8-
CONFIG_BT_LL_SW_SPLIT=y
9-
107
# Enable Direction Finding Feature including AoA and AoD
118
CONFIG_BT_CTLR_DF=y
129

1310
CONFIG_BT_CTLR_DF_CTE_TX=y
1411
CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
1512
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
1613
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
17-
18-
# Ensure that there are enough control procedure contexts to queue and execute all procedures
19-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
20-
CONFIG_BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM=6
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright (c) 2022 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_BT_CTLR=y
8+
CONFIG_BT_LL_SW_SPLIT=y
9+
10+
# Enable Direction Finding Feature including AoA and AoD
11+
CONFIG_BT_CTLR_DF=y
12+
13+
CONFIG_BT_CTLR_DF_CTE_TX=y
14+
CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
15+
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
16+
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
17+
18+
# Ensure that there are enough control procedure contexts to queue and execute all procedures
19+
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
20+
CONFIG_BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM=6

samples/bluetooth/direction_finding_peripheral/sample.yaml

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,66 @@ sample:
22
name: Direction Finding Peripheral
33
description: Sample application showing peripheral role of Direction Finding in connected mode
44
tests:
5-
sample.bluetooth.direction_finding_peripheral_nrf:
5+
sample.bluetooth.direction_finding_peripheral.aoa.sdc.nrf52_nrf53:
66
sysbuild: true
7+
extra_args:
8+
- OVERLAY_CONFIG="overlay-aoa.conf"
79
build_only: true
8-
platform_allow: nrf52833dk/nrf52833 nrf52833dk/nrf52820 nrf5340dk/nrf5340/cpuapp
10+
platform_allow:
11+
- nrf52833dk/nrf52833
12+
- nrf52833dk/nrf52820
13+
- nrf5340dk/nrf5340/cpuapp
914
tags: bluetooth sysbuild
1015
integration_platforms:
1116
- nrf52833dk/nrf52833
1217
- nrf52833dk/nrf52820
1318
- nrf5340dk/nrf5340/cpuapp
14-
sample.bluetooth.direction_finding_peripheral_nrf.aod:
19+
sample.bluetooth.direction_finding_peripheral.aoa.bt_ll_sw_split.nrf52:
20+
sysbuild: false
21+
build_only: true
22+
extra_args:
23+
- OVERLAY_CONFIG="overlay-aoa.conf;overlay-bt_ll_sw_split.conf"
24+
- SNIPPET="bt-ll-sw-split"
25+
platform_allow:
26+
- nrf52833dk/nrf52833
27+
- nrf52833dk/nrf52820
28+
tags: bluetooth
29+
integration_platforms:
30+
- nrf52833dk/nrf52833
31+
- nrf52833dk/nrf52820
32+
sample.bluetooth.direction_finding_peripheral.aoa.bt_ll_sw_split.nrf53:
1533
sysbuild: true
16-
extra_args: OVERLAY_CONFIG="overlay-aoa.conf"
1734
build_only: true
18-
platform_allow: nrf52833dk/nrf52833 nrf52833dk/nrf52820 nrf5340dk/nrf5340/cpuapp
35+
extra_args:
36+
- OVERLAY_CONFIG="overlay-aoa.conf"
37+
- ipc_radio_OVERLAY_CONFIG="../../overlay-bt_ll_sw_split.conf"
38+
- ipc_radio_SNIPPET="bt-ll-sw-split"
39+
platform_allow:
40+
- nrf5340dk/nrf5340/cpuapp
1941
tags: bluetooth sysbuild
42+
integration_platforms:
43+
- nrf5340dk/nrf5340/cpuapp
44+
sample.bluetooth.direction_finding_peripheral.all.bt_ll_sw_split.nrf52:
45+
sysbuild: false
46+
build_only: true
47+
extra_args:
48+
- OVERLAY_CONFIG="overlay-bt_ll_sw_split.conf"
49+
- SNIPPET="bt-ll-sw-split"
50+
platform_allow:
51+
- nrf52833dk/nrf52833
52+
- nrf52833dk/nrf52820
53+
tags: bluetooth
2054
integration_platforms:
2155
- nrf52833dk/nrf52833
2256
- nrf52833dk/nrf52820
57+
sample.bluetooth.direction_finding_peripheral.all.bt_ll_sw_split.nrf53:
58+
sysbuild: true
59+
build_only: true
60+
extra_args:
61+
- ipc_radio_OVERLAY_CONFIG="../../overlay-bt_ll_sw_split.conf"
62+
- ipc_radio_SNIPPET="bt-ll-sw-split"
63+
platform_allow:
64+
- nrf5340dk/nrf5340/cpuapp
65+
tags: bluetooth sysbuild
66+
integration_platforms:
2367
- nrf5340dk/nrf5340/cpuapp

samples/bluetooth/direction_finding_peripheral/sysbuild.cmake

Lines changed: 0 additions & 24 deletions
This file was deleted.

samples/bluetooth/direction_finding_peripheral/sysbuild/ipc_radio/prj.conf

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ CONFIG_BT_MAX_CONN=16
1616
# CONFIG_BT_BUF_ACL_TX_SIZE=251
1717
# CONFIG_BT_BUF_CMD_TX_SIZE=255
1818

19-
CONFIG_BT_CTLR=y
20-
CONFIG_BT_LL_SW_SPLIT=y
21-
2219
# Enable Direction Finding Feature including AoA and AoD
2320
CONFIG_BT_CTLR_DF=y
2421

@@ -27,9 +24,8 @@ CONFIG_BT_CTLR_DF_CONN_CTE_TX=y
2724
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=y
2825
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=y
2926

30-
# Ensure that there are enough control procedure contexts to queue and execute all procedures
31-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
32-
CONFIG_BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM=6
27+
CONFIG_LOG=y
3328

3429
CONFIG_IPC_RADIO_BT=y
3530
CONFIG_IPC_RADIO_BT_HCI_IPC=y
31+
CONFIG_IPC_RADIO_LOG_LEVEL_ERR=y

0 commit comments

Comments
 (0)