Skip to content

Commit

Permalink
samples: cellular: lte_ble_gateway: Update to use new HCI driver
Browse files Browse the repository at this point in the history
Updates required by changes in zephyr upstream. Fixes an issue where
the nRF52840 did not reset on init.

Signed-off-by: Eivind Jølsgard <[email protected]>
  • Loading branch information
eivindj-nordic committed Jan 2, 2025
1 parent 9abba20 commit 19360c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ Cellular samples
* Removed the ``CONFIG_MOSH_LINK`` Kconfig option.
The link control functionality is now always enabled and cannot be disabled.

* :ref:`lte_sensor_gateway` sample:

* Fixed an issue with devicetree configuration after HCI updates in `sdk-zephyr`_.

Cryptography samples
--------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/ {
chosen {
zephyr,bt-uart=&lpuart;
zephyr,bt-hci = &bt_hci_uart;
};
};

Expand All @@ -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";
};
};
};

Expand Down
2 changes: 2 additions & 0 deletions samples/cellular/lte_ble_gateway/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19360c8

Please sign in to comment.