Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12
-
None
-
-
263fc5186325a7dd59a7533b98b3bf1296ea0d16 (qt/qtconnectivity/5.12)
Description
We have BLE devices that report their pairing capabilities as DisplayOnly (and legacy pairing only). With a phone reporting its pairing capability (usually) as KeyboardDisplay, this will cause the phone to ask for a pin code which has to match the pincode the device is showing. Since commit f8c0572ddcd / Change-Id: I618242da415574245e5a213a6e34f190c685c8e9, Qt will generate a pincode itself and provide that to Android, while in this case it should really ask the application/user for the pin code. Because the generated pincode will not match the pincode the device is showing, the pairing fails (and in the case of our devices, the connection is dropped).
Previously, Qt would not handle this type of pairing and Android would show a pin code entry form and handle the pairing.
Attachments
Issue Links
- relates to
-
QTBUG-76994 Bluetooth pairing with low energy device
-
- Closed
-
For Gerrit Dashboard: QTBUG-76565 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268002,2 | Do not handle PAIRING_VARIANT_PIN | 5.12 | qt/qtconnectivity | Status: MERGED | +2 | 0 |