Trying to pair the phone with a Bluetooth peripheral programmatically. There is a nice example by Google how to do this for Bluetooth LE devices, but this peripheral happens to not have the BLE stack. I solved the discovery changes, but there's still some work to do with the actual pairing.