Post

Replies

Boosts

Views

Activity

Is there any Swift API to programmatically pair with a BLE device without prompting the Pairing pin?
I have a BLE device which has its characterisitcs protected by GATT authentication and requires pairing / bonding to be done first. I do not want to prompt the user for the pairing pin and the users are never aware of the pin. While building the android app for this, we had the setPin API to automatically provide the pin whenever the pairing was initiated. https://developer.android.com/reference/android/bluetooth/BluetoothDevice#setPin(byte[]) I could not find anything similar in the iOS corebluetooth API. https://developer.apple.com/documentation/corebluetooth/cbperipheral Tried searching everywhere possible but could not find a solution. Please suggest.
1
0
690
Apr ’22