From 64ebb31f39903a83a3d611cff1ae332d30c109f1 Mon Sep 17 00:00:00 2001 From: Ryan Chu Date: Fri, 4 Aug 2023 11:07:13 +0200 Subject: [PATCH] samples: bluetooth: throughput: Fix missing coded PHY configuration BT_CTLR_PHY_CODED is set by default only if BT_HCI_RAW is enabled. Signed-off-by: Ryan Chu --- samples/bluetooth/throughput/README.rst | 2 +- samples/bluetooth/throughput/prj.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/bluetooth/throughput/README.rst b/samples/bluetooth/throughput/README.rst index fbc5bd8b2ae7..e247234b8d59 100644 --- a/samples/bluetooth/throughput/README.rst +++ b/samples/bluetooth/throughput/README.rst @@ -52,7 +52,7 @@ Connection interval Physical layer (PHY) data rate Starting with Bluetooth 5, the over-the-air data rate in Bluetooth Low Energy can exceed 1 Ms/s (mega symbols per second), which allows for faster transmission. - In addition, you can use coded PHY (available on the nRF52840 SoC only) for long-range transmission. + In addition, you can use coded PHY (available on select nRF SoCs) for long-range transmission. By default, the following connection parameter values are used: diff --git a/samples/bluetooth/throughput/prj.conf b/samples/bluetooth/throughput/prj.conf index b18b5f444a87..484e54889e28 100644 --- a/samples/bluetooth/throughput/prj.conf +++ b/samples/bluetooth/throughput/prj.conf @@ -40,6 +40,7 @@ CONFIG_BT_BUF_ACL_TX_SIZE=502 CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 CONFIG_BT_CTLR_PHY_2M=y +CONFIG_BT_CTLR_PHY_CODED=y CONFIG_BT_CTLR_RX_BUFFERS=2 CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=4000000