I have an Java application on my PC and database.There are some MAC
and PIN data in DB.
I’m sending messages (now it’s text files over OBEX put method, but in
future it will be SMS messages i hope 🙂 ), so when i discover some
device, then discover needed service i’m looking to the DB and if the
phone MAC in the DB i need to start PAIRING with predefined PIN.
I’ve coded all the process, except the PAIRING… How to initialize
it ?
You have to register a passkey-agent which inputs the PIN when it is requested. More info here.