admin管理员组文章数量:1410689
I want to send serial data with a BT05 serial Bluetooth LE device from a microcontroller to a Raspberry Pi 5 with Linux 6.6.51+rpt-rpi-2712. On the raspi I use the latest newest Python bleak version to handle this setup. The BT05 is not recognized by bleak.
On the raspi I can see the device with 'bluetoothctrl', it shows up as 'Device 4C:24:98:35:8F:48 BT05' as result of 'devices Connected'.
bluetoothctrl scan is on, sometimes I get things like
[CHG] Device 4C:24:98:35:8F:48 RSSI: -70', so I think the BT05 is 'advertising'
But for devices = await BleakScanner.discover()
I get no results.
For if await client.is_connected():
I get
bleak.exc.BleakDeviceNotFoundError: Device with address 4C:24:98:35:8F:48 was not found.'
I run Python and bluetoothctl with sudo privileges
Why doesn't bleak find the device, is it a bleak specific problem?
How can I analyze what is missing in the in the bluetooth system, 'sudo systemctl restart bluetooth' does not help.
In 'bluetoothctl' I can use 'menu advertise' to configure the advertising of the BT05. I left it untouched, are there necessary changes?
本文标签: How can I hook a BT05 Bluetooth LE device to Python bleak on a raspberry PIStack Overflow
版权声明:本文标题:How can I hook a BT05 Bluetooth LE device to Python bleak on a raspberry PI - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744805472a2626121.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论