Hello again;
Thanks for replying so fast Erel.
Yes, the code is from that message ..... I have explained what I'm doing ...
I am using BLE devices, and therefore I use the BLE2 library. I want to implement the pairing of Bluetooth devices, so that I have a device to which another 2 is connected (not at the same time), one of them is a mobile.
Between the 2 BLE devices that are not mobile, they send a one-way password and I have no problem.
When I want to pair the mobile with the BLE device, the following happens to me ......
- If I go to Settings - Bluetooth and search for nearby Bluetooth devices, I locate and when I click on it, I sell the typical Android window where I show the password to match the disconfiguration .....
- If I connect directly without going through the pairing screen, it connects and does not ask me for any passkey .... what I want to avoid .....
So I want to connect with a mobile to the device BLE and I get the Android window where I indicate the passkey that sends me the device BLE ...... tried what you indicate me in the previous posts, but it does not work Hello do not do it
I read post muschos about this but all or almost all refer to classic Bluetooth and I am using BLE with the BLE2 library.
What is the correct way to call the Android pairing window so that it automatically shows my password in my application without the settings - Bluetooth manually?
Thank you and forgive my English.
A greeting; Jemajuca