In a Windows Store application, I am attempting to use the PeerFinder class to locate the Bluetooth enabled devices around me, but I get an generic exception every time I call Peerfinder.FindAllPeersAsync():
One or more errors occurred while processing the request. (Exception from HRESULT: 0x80070306)
I think the issue is what Peerfinder.SupportedDiscoveryTypes == PeerDiscoveryTypes.None, but I'm not sure why this is. My computer does not have an NFC radio, but it does have Bluetooth. I would have thought this would make Peerfinder.SupportedDiscoveryTypes == PeerDiscoveryTypes.Browse. Is NFC required for this to work?
I have made almost identical code work in Windows Phone 8, but that does have NFC (though I only need to use it the first time to devices are connecting; they remember each other every time after that).
Update:
Here is some more info that people were asking for in the comments:
1) AllowBluetooth == true.
2) Bluetooth is enabled (and I connected something to the PC via Bluetooth just to prove to myself that the radio is working).
3) Both the Proximity and the Networking capabilities have been added.