I'm trying to connect via bluetooth two devices. I've been able to do it, but when the connections starts the OS ask me to provide the pairing code.
What I want to do is give that code programatically. Is there a way to connect those devices and send that pairing code without asking the user to insert it?
Note: I do have the pairing code, I just don't want the user to insert it, instead the app will take it from where it is saved and use it.
Note_2: The pairing code must be used. So, connecting with createInsecureRfcommSocketToServiceRecord() or something like it that does not use the Pairing Code is not an option.