This program will hang without receiving advertising when using this test code on the Raspberry Pi 3 B+, with the following updated versions, N.B. bluez-firmware and pi-bluetooth appear to be the key changes:
ii bluez 5.43-2+rpt2+deb9u2 armhf Bluetooth tools and daemons
ii bluez-firmware 1.2-3+rpt6 all Firmware for Bluetooth devices
ii bluez-hcidump 5.43-2+rpt2+deb9u2 armhf Analyses Bluetooth HCI packets
ii libbluetooth-dev 5.43-2+rpt2+deb9u2 armhf Development files for using the BlueZ Linux Bluetooth library
ii libbluetooth3:armhf 5.43-2+rpt2+deb9u2 armhf Library to use the BlueZ Linux Bluetooth stack
ii pi-bluetooth 0.1.8 all Raspberry Pi 3 bluetooth
ii python-bluez 0.22-1 armhf Python wrappers around BlueZ for rapid bluetooth development
To do a workaround, we are using the following steps:
hciconfig hci0 down
hciconfig hci0 up
hcitool lescan
And then running our program in another terminal while the scan is running. When the lescan stops, our code keeps going as long as we don't reopen the hci0 device.
What is happening with the latest update to the Raspberry Pi BLE code and firmware? What is the behavioral change?
This program will hang without receiving advertising when using this test code on the Raspberry Pi 3 B+, with the following updated versions, N.B. bluez-firmware and pi-bluetooth appear to be the key changes:
To do a workaround, we are using the following steps:
And then running our program in another terminal while the scan is running. When the lescan stops, our code keeps going as long as we don't reopen the hci0 device.
What is happening with the latest update to the Raspberry Pi BLE code and firmware? What is the behavioral change?