Replies: 2 comments 3 replies
-
Yes. See the agent code in |
Beta Was this translation helpful? Give feedback.
3 replies
-
I can not make it work. I need some help 🙏. $ bluetoothctl pair 48:70:1E:53:38:FC
Attempting to pair with 48:70:1E:53:38:FC
Failed to pair: org.bluez.Error.AuthenticationFailed But when doing it manually like so it works perfectly. How can I replicate this behavior using Bluer? $ bluetoothctl
Agent registered
[CHG] Controller B0:10:41:23:37:A6 Pairable: yes
[ID92932106100853 ]# pair 48:70:1E:53:38:FC
Attempting to pair with 48:70:1E:53:38:FC
Request passkey
[agent] Enter passkey (number in 0-999999): 123456
[CHG] Device 48:70:1E:53:38:FC Paired: yes
Pairing successful
[ID92932106100853 ]# |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I don't know if this is possible but I made a small program to connect to a solar inverter and right now I'm using
bluetoothctl
with the help of a script to auto discover the device and pair it. ¿Is there any way to do this from directly from rust code? So I can avoid using cron, hacky scripts, etc just to pair a device?Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions