bluez / bluer

BlueR — Official BlueZ Bindings for Rust
https://crates.io/crates/bluer
Other
321 stars 45 forks source link

agent doesn't work? #108

Closed kaii-lb closed 1 year ago

kaii-lb commented 1 year ago

very possible way of registering and using an agent seems to fail with Bluetooth operation failed: br-connection-refused or Bluetooth operation failed: br-connection-unknown. It doesn't matter if i use the examples you guys provide, bluer-tools, or my own scripts, it'll always fail with either of these errors. However tools like bluetoothctl work perfectly.

Would this be an issue on my side? or is it a bug or something?

kaii-lb commented 1 year ago

new discovery, it will ONLY work when i request to pair, not when another device requests to pair. so if the app is open and discovering, and a phone tries to pair, it will fail. But if i call the app's pair method with the phone's address it works perfectly. This is both with the agent examples and my app

kaii-lb commented 1 year ago

seems to be solved by bluez 5.70, closing.