My Pi is 2B Rev1.1
I connected HC-08 Bluetooth module on pin8,10.
I use Raspberry Pi OS.
console=tty1 root=PATUUID=e77fdc5c-02 rootfstype=ext4 fsck.repair=yes root wait quiet splash Plymouth.ignore-serial-serialconsoles
I upgraded the Pi with the command
sudo apt update &&sudo apt upgrade
I installed bluez with the command
sudo apt install bluetooth pi-bluetooth bluez blueman
I checked bluetooth status with the command
sudo systemctl status bluetooth.service. It shows
Then I try to use
sudo modprobe btusbto get the service up. It shows
I use command
bluetoothctl. There is no device found.
After further research. I found the following command
sudo systemctl status hciuart.service. It shows
raspberrypi systemd:conditioncheck resulted in configure
Bluetooth Modems connected by UART being skipped
After further research, I tried to use the command
sudo systemctl hciattach /dev/serial0 bcm43xx 115200. It shows
bcm43xx_init Initialization timeout
I tried different parameters and still failed to get this done successfully.
So far I am focusing on the error message from
hciuart.service. I am trying to figure out what caused the skip.
I am new to the kernel thing. Any help is appreciated.
HC-08module will not be recognised by the RPi as a Bluetooth device and doesn't use the Bluetooth software stack used by the on-board Bluetooth on later RPi models. The
HC-0*Bluetooth UART Communication Modules work as bridges between the serial communication on the pins of the RPi to Bluetooth over the air. You need a serial library to read/write to the HC-08 device. For example PySerial in Python.