Problem with bluez-simple-agent call in .bashrc or .bash_profile.
Hi,
I am trying to automate bluetooth pairing at startup and I have put bluez-
simple-agent hci0 bdaddr in my bashrc and it always fails. When I run it manually it works i.e. I can pair. Why is that?
It fails with "Connection error: In progress". I am not sure what it means. To replicate simply write "sudo bluez-simple-agent hci0 <bdaddr>".
Thanks.