From 8ee0607d5a64d1f0e91a41fad82df412b6bcb7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eivind=20J=C3=B8lsgard?= Date: Tue, 17 Dec 2024 09:17:56 +0100 Subject: [PATCH] samples: cellular: lte_ble_gateway: Update to use new HCI driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates required by changes in zephyr upstream. Fixes an issue where the nRF52840 did not reset on init. Signed-off-by: Eivind Jølsgard --- .../releases/release-notes-changelog.rst | 4 ++++ .../lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay | 6 ++++++ samples/cellular/lte_ble_gateway/prj.conf | 2 ++ 3 files changed, 12 insertions(+) diff --git a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst index cb45cd80b225..828c7d16935c 100644 --- a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst +++ b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst @@ -298,6 +298,10 @@ Cellular samples * Fixed an issue with an uninitialized variable in the :c:func:`handle_at_cmd_requests` function. +* :ref:`lte_sensor_gateway` sample: + + * Fixed an issue with devicetree configuration after HCI updates in `sdk-zephyr`_. + Cryptography samples -------------------- diff --git a/samples/cellular/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay b/samples/cellular/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay index ec88fa972168..981598380839 100644 --- a/samples/cellular/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay +++ b/samples/cellular/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay @@ -3,6 +3,7 @@ / { chosen { zephyr,bt-uart=&lpuart; + zephyr,bt-hci = &bt_hci_uart; }; }; @@ -23,6 +24,11 @@ status = "okay"; req-pin = <21>; /* <&interface_to_nrf52840 3 0>; */ rdy-pin = <19>; /* <&interface_to_nrf52840 2 0>; */ + + bt_hci_uart: bt_hci_uart { + compatible = "zephyr,bt-hci-uart"; + status = "okay"; + }; }; }; diff --git a/samples/cellular/lte_ble_gateway/prj.conf b/samples/cellular/lte_ble_gateway/prj.conf index ad2bfa98cfdb..59e09b386ab1 100644 --- a/samples/cellular/lte_ble_gateway/prj.conf +++ b/samples/cellular/lte_ble_gateway/prj.conf @@ -53,6 +53,8 @@ CONFIG_CONSOLE_GETCHAR=y # Enable Bluetooth stack and libraries CONFIG_BT=y CONFIG_BT_H4=y +CONFIG_BT_HCI=y +CONFIG_BT_CTLR=n CONFIG_BT_WAIT_NOP=y CONFIG_BT_CENTRAL=y CONFIG_BT_GATT_CLIENT=y