It shows me a problem
The Bluetooth subsystem must be enabled by CONFIG_BT to be included in the build
in this line
#include <zephyr/bluetooth/bluetooth.h>
my prj.conf looks like this
CONFIG_STDOUT_CONSOLE=y CONFIG_PRINTK=y CONFIG_LOG=y CONFIG_LOG_PRINTK=y CONFIG_LOG_MODE_IMMEDIATE=y CONFIG_BT=y CONFIG_BT_OBSERVER=y
The problem is sitill pending....
So I open nRF Kconfig GUI. I check two checkboxes "Bluetooth and Bluetooth Controller" I click Apply. Build and the problem still occurs...
So I reopen nRF Kconfig GUI and all my changes are gone.
How on Earth does it work?