Ircama / ELM327-emulator

ELM327 Emulator for testing software interfacing OBDII via ELM327 adapter supporting multi-ECU simulation
Other
417 stars 88 forks source link

any workarounds for getting it run with virtual COM Ports in Windows? #25

Open rs38 opened 2 years ago

rs38 commented 2 years ago

com0com and probably any other driver is not able to work without proper driver signature and that is true for nearly every windows in 2022 (Win10+ and 64Bit).

I don't think that disabling driver signature enforcement is a good idea, if even possible.

there seem to be commercial alternatives with at least some days of trial mode like https://www.virtual-serial-port.org

At least I guess it should be mentioned that it won't work.

see also #3

Ircama commented 2 years ago

I am not aware of a Windows capability similar to the Linux pseudo-terminal function used by ELM327-emulator.

Anyway, implementing null-modem emulation on Windows is beyond the intent of ELM327-emulator. A number of software tools already exist to perform this. And when using TCP/IP or Bluetooth, the null-modem feature is not even required.

As an option, I think that hardware null-modem USB cables might be available.

A hardware adapter (to be connected to two physical USB ports) can be easily built through two inexpensive USB-to-TTL serial UART modules, by cross-connecting them via their TX and RX lines (provided to choose hw adapters offering signed Windows drivers).

rs38 commented 2 years ago

I did not even think about the existence of null-modem USB cables, but nice idea. Eventually I got it the emulator to run , so from a community stand point it would only make sense to make it better and create a PR, right? :)

Ircama commented 2 years ago

Yes, sure. If you think a PR on the documentation could be useful, no problem.

Perhaps the cheapest option is to directly build the adapter (very few dollars/Euros):