SMP API check for cached OOB data
If OOB data was generated before the pairing was attempted then use the cached OOB data information for the pairing. We don't know if it is the data for the particular device we are attempting to pair with, but it'll either work or it won't. And if it doesn't, then it is likely not the device we intended to pair with. This will mean that Pixel will only perform double sided OOB pairing IF it has previously created OOB data. Data is removed on successful pairing or advertisement timeout. When the device is the connector, it doesn't need to ask the app for the OOB data since the OOB data is provided at the time of create_bond_out_of_band being called. This should fix the issue with double OOB data pairing scenarios where this device is the device that initiates the bond. Bug: 200595320 Test: Manual, test app. Tag: #feature Change-Id: Idd94a4ebe9ebeed57026fd915f499d509873e4f0
Loading
Please register or sign in to comment