Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.8 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.8 KB

M*rklin CS2 Gateway emulator

This Git (OpenWRT feed) contains files to emulate the M*rklin CS2 Gateway:

  • can2udp only transfers CAN frames to UDP and vice versa
  • can2lan does the same as can2udp, but also listen on TCP (for M*rklinApp & Software)

can2udp is working fine with Rocrail and Gleisbox (60113). The can2lan aims to emulate the CS2 (or more specific the CAN gateway of the CS2).

The other files are for testing or pre-alpha state.

Using


Usage: can2udp -l \ -d \ -i \
   Version 0.91
         -l \           listening UDP port for the server - default 15731
         -d \           destination UDP port for the server - default 15730
         -b \ broadcast address - default 255.255.255.255
         -i \        can interface - default can0
         -f                  running in foreground
         -v                  verbose output (in foreground)

Usage: can2lan -c \ -u \ -t \ -d \ -i \
   Version 1.04
         -c \     set the config directory
         -u \           listening UDP port for the server - default 15731
         -t \           listening TCP port for the server - default 15731
         -s \           second listening TCP server port - default 15732
         -d \           destination UDP port for the server - default 15730
         -b \ broadcast address or interface - default 255.255.255.255/br-lan
         -i \        can interface - default can0
         -m                  doing MS1 workaround - default: don't do it
         -f                  running in foreground
         -v                  verbose output (in foreground)