Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception #266

Open
ningbolyq opened this issue Feb 4, 2023 · 3 comments
Open

exception #266

ningbolyq opened this issue Feb 4, 2023 · 3 comments

Comments

@ningbolyq
Copy link

1:when I use : client.Connect(device.DeviceAddress, BluetoothService.Handsfree); exception is following:
System.AggregateException:“One or more errors occurred. (Specified argument was out of the range of valid values. Arg_ParamName_Name)”
2:when I use : client.Connect(device.DeviceAddress, BluetoothService.SerialPort); above exception is not invaked ,but have following exception: DataAvailable = “((InTheHand.Net.Sockets.WinRTNetworkStream)stream).DataAvailable” “System.NotSupportedException” exception
how can I do it?

@ningbolyq
Copy link
Author

I use bluetooth in Maui

@ningbolyq
Copy link
Author

If I use bluetooth in wpf,that's ok. But when I use bluetooth in MAUI, it's above error.

@peterfoot peterfoot transferred this issue from inthehand/32feet-samples Feb 4, 2023
@ningbolyq
Copy link
Author

When I use bluetooth in Maui, it's error :Client = “client.Client” invoke “System.PlatformNotSupportedException” exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant