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
Hi there, thanks for the library. I have a question which might be really dumb but if I implement this into a unity project, do I need to implement the connection with my own code before connecting OBD.NET to that comport or is that all done in your library? I can't seem to connect my app to the obd even though other apps work. In the unity project the script to connect is mostly taken from the example console program you provided. Am I missing something? Thanks.
The text was updated successfully, but these errors were encountered:
In the example everything regarding the connection is handled in the SerialConnection that you configure with the serial-port.
The connection is opened when dev.Initialize is called.
What's perfectly possible though is, that this implementation does not work in unity-apps (They might have some limitations/different way of handling IO) in that case you might need to implement the ISerialConnection-interface with something Unity-specific.
But I don't have any experience with unity, which makes it quite hard to be sure if that's really the case.
Do you see any exceptions when requesting data?
I figured out that the freeze happens because of _serialPort.Open() in SerialConnections. No exceptions because if I don't comment out this line the whole editor freezes. I found some people online having issues with this function so maybe I can go from there. Btw it definately is a Unity thing because I can get your console project to open the port. Anyways thanks your help and this repo.
Hi there, thanks for the library. I have a question which might be really dumb but if I implement this into a unity project, do I need to implement the connection with my own code before connecting OBD.NET to that comport or is that all done in your library? I can't seem to connect my app to the obd even though other apps work. In the unity project the script to connect is mostly taken from the example console program you provided. Am I missing something? Thanks.
The text was updated successfully, but these errors were encountered: