Peter Foot
Peter Foot
Is there any output in the debug window to indicate an error when you call RequestDeviceAsync? My guess is it is the code to get the HWND for the console...
I've checked a fix into the code for DiscoverDevicesAsync, but haven't released a new NuGet package yet.
Released in 4.1.42
Found the error - it is incorrectly checking the status of BLUETOOTH_CONNECT permission which is not required prior to Android 12. Fix is in the code, NuGet release to follow...
Are you requesting permission at runtime e.g. https://inthehand.com/2023/10/11/asking-for-permission/
What are your linker settings? Can you exclude InTheHand.Net.Bluetooth from linking?
Can you explain "does not work correctly" in more detail please?
Fixed in 4.0.36
Connection will fail if the iPhone and PC are not paired, or if something else on the PC is already connected to Handsfree e.g. Microsoft Phone Link. There are other...