You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect to ELM327 bluetooth device (serial communication) but I'm getting an error..
Unhandled exception. Tmds.DBus.DBusException: org.bluez.Error.NotAvailable: Operation currently not available
at Tmds.DBus.DBusConnection.CallMethodAsync(Message msg, Boolean checkConnected, Boolean checkReplyType)
at Tmds.DBus.Connection.CallMethodAsync(Message message)
at Tmds.DBus.CodeGen.DBusObjectProxy.SendMethodReturnReaderAsync(String iface, String member, Nullable`1 inSignature, MessageWriter writer)
at *****.ConnectAsync() in ********************
I have also tried to use ConnectProfileAsync() method with proper service UUID - same exception.
Elevating privileges with sudo also doesn't help.
Equivalent test code in Python3 with PyBluez works without problems.
I'm using Linux Ubuntu 20.04 on VM with USB BT dongle and dotnet sdk 3.1.402.
My test source code looks like this:
I'm trying to connect to ELM327 bluetooth device (serial communication) but I'm getting an error..
I have also tried to use ConnectProfileAsync() method with proper service UUID - same exception.
Elevating privileges with
sudo
also doesn't help.Equivalent test code in Python3 with PyBluez works without problems.
I'm using Linux Ubuntu 20.04 on VM with USB BT dongle and dotnet sdk 3.1.402.
My test source code looks like this:
The text was updated successfully, but these errors were encountered: