cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
connect does not follow spec
It may be some kind of edge case, but if you pair on ios with a device and the device resets its pairing information, ios will return a "pairing does not match" or "unable to encrypt" error object but in the success callback. e.g.
{
address: "F1E19B2E-F23C-3138-9684-86C90D154483"
error: "connect"
message: "Error Domain=CBErrorDomain Code=15 \"Failed to encrypt the connection, the connection has timed out unexpectedly.…"
name: "000222"
}
i have this error on ipados/ios 15