-
Hello, I am trying to find a way to auto confirm Bluetooth passkey request. I have GATT server running on my computer and I want to connect to it with my phone, but I cannot connect because of When I open bluetoothctl and GATT server, everything works, but I need to say yes to accept passkey request. I did find something in documentation, but I don't know how to implement it in code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Register an agent and handle the appropriate requests. See https://docs.rs/bluer/0.15.4/bluer/agent/struct.Agent.html You can check |
Beta Was this translation helpful? Give feedback.
Register an agent and handle the appropriate requests.
See https://docs.rs/bluer/0.15.4/bluer/agent/struct.Agent.html
You can check
gattcat
in the repository for an example.