I hope you had fun building your ESP32 device and compiling code.
On
Linux computers you could have achieved the same result using a combination of netcat and can-utils.
To send live data between two
computers:
Machine A:
Code:
netcat -l -p 1234 | canplayer -v vcan0=can0
Machine B:
Code:
candump -L can0 | netcat -v 192.168.0.109 1234
To send a candump log file for replay on another computer:
Machine A:
Code:
netcat -l -p 1234 | canplayer -v vcan0=can0
Machine B:
Code:
netcat -v 192.168.0.109 1234 < /mnt/d/logs/seattle.log
Notes:
- Configure IP address and port as appropriate
- Machine A does not have a physical CAN bus adapter, it has been configured with a virtual can adapter, in this case named vcan0.
You can kind of achieve the same on Windows or MacOSX using virtual serial devices (com0com and socat respectively) and sending Actisense EBL log files or Actisense data streams.
I fear that many readers may have missed the point, which is that today while there are various proprietary mechanisms for encapsulating or sending
NMEA 2000 data over TCP or UDP, OpenCPN does not yet support any of them.
There are however several alternative mechanisms to send data wirelessly, but these are generally only appropriate for the more technical adept users.