After Successful BLE connection via CoreBluetooth, how to connect classic Bluetooth programmatically

Viewed 487

I have implemented ble connection via core bluetooth framework and it is working fine. Now in settings app, if the bluetooth device is discovered, I want to make the classic bluetooth connection for that device automatically via app(programmatically).

Please share some hints/code snippet how to make the classic bluetooth connection after ble connection from app, so that the user don't have to go to settings app to make connection.

Any help would be highly appreciated. Thanks in advance!

1 Answers

For iOS there is to my knowledge no way. If you have control over the peripheral, there is a workaraound:

After a BLE pairing, the peripheral knows the public bluetooth address of your iDevice. Now your peripheral can initiate the classic pairing from the other side. On iOS you will get a pairing screen then.

Related