Just wanted to make a new thread so I can document progress with updating M2RET to work with other output devices other than the USB port.
The intended effort is to allow any XBEE devices or devices connected to the UART3 (External connector).
The library is setup to be a generic DUE library to allow input or output to any of the serial devices.
Note that in the M2 UART 1 & 2 are LIN devices and won’t be available to redirect to.
Currently believe I have the new Library setup. It is more or less a Wrapper around the normal Serial devices but had logic in it to read or write to other devices. There is a write only mode available as well if you want to monitor while not allowing input. It will default to the console and whatever device is hooked to the XBEE or external port to be both read and write. The console device will be the priority device for reading input from.
I will test it more to insure the library works as expected then I will begin integrating it into the M2RET software.
I have a couple ESP32 modules now that I will start playing with it to further test it once I have the M2RET updated.
I may also do a proof of concept using my Nextion display to see if I can build a different type of driver that will allow a display to work easily with the M2. This might allow the M2 to be a sort of ODBII scanner without using anything else. Nice for plugging directly into the UTH version and controlling it from within the vehicle. But still work with SavvyCAN if connected or other modules etc.