After successful BLE connection via CoreBluetooth, how to connect classic bluetooth programmatically

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

Please share some hints / code snippets on how to make a classic bluetooth connection after connecting through the app, so that the user does not need to go to the settings app to establish a connection.

Any help would be much appreciated. Thanks in advance!

+3


source to share


1 answer


For iOS, as far as I know, no. If you have control over a peripheral, there is a workaraound:



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

0


source







All Articles