Hi,
I noticed that NCS has been updated to version 3.0.2. I now want to compile the beacon in host-only mode and make it work on the nRF52832, but I haven't succeeded so far.
I used the "beacon" example from the sample library as a base. My prj.conf is as follows:
CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_DEVICE_NAME="Test beacon" CONFIG_BT_HCI=y CONFIG_BT_CTLR=n CONFIG_BT_H4=y
My nrf52dk_nrf52832.overlay is as follows:
/ {
chosen {
zephyr,bt-hci = &uart0;
zephyr,bt-hci-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,bt-uart = &uart0;
};
};
&uart0 {
status = "okay";
current-speed = <1000000>;
// hw-flow-control;
};
The compiler reports:
warning: BT_H4 (defined at drivers/bluetooth/hci/Kconfig:13) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_BT_HCI_UART_ENABLED (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_H4 and/or look up BT_H4 in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
I believe I've already completed the configuration for DT_HAS_ZEPHYR_BT_HCI_UART_ENABLED, but I don't understand where the problem lies.
Additionally, since I'm using an nRF52833 as controller-only (with both boards having only one UART), I've noticed that even when I set CONFIG_LOG=n, the UART still outputs information. When I connect these two boards via UART for operation, this behavior affects normal system functionality. How should I address this issue? I'd like your recommendations.
Thanks,
Cookie_can