Strange behavior of DevicePairingResultStatus::Failed

quanwen du 41 Reputation points
2020-06-19T03:34:13.517+00:00

Hello,

When we use DeviceInformationCustomPairing::PairAsync() to pair with phone, the interface sometimes returns DevicePairingResultStatus::Failed. We assume this is an unknown failure. But if we ignore this error and try WiFiDirectDevice::FromIdAsync() to get WiFiDirectDevice, it will success and the P2P is actually setup successfully(e.g. ping is OK).

Can you explain the behavior above? can we ignore DevicePairingResultStatus::Failed or take it as success?

Thanks

Developer technologies | Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.