Model Railroad System  2.2.2
Overall User Manaual
OpenLCB Router Daemon (Server)

Routes between OpenLCB GridConnect/CAN and binary OpenLCB over Tcp/Ip

SYNOPSIS

Router [-bhost localhost] [-bport 12000] [-cmode Tcpip|Socket|USB] [-chost localhost] [-cport 12021] [-csocket can0] [-cdevice /dev/ttyACM0] [-nid 05:01:01:01:22:00] [-log Router.log] [-debug] [-nodename ""] [-nodedescription ""]

DESCRIPTION

This program is a server daemon that implements a router between an OpenLCB/CAN segment and a native OpenLCB over Tcp/Ip network.

PARAMETERS

none

OPTIONS

  • -bhost The binary OpenLCB over Tcp/Ip host to connect to.
  • -bport The tcp port to connect with.
  • -cmode The CAN If mode: Tcpip means GridConnect over Tcp/Ip, Socket means use a CAN famile Socket (Linux only) (using the TclSocketCAN API), and USB means using a USB Serial port connection using GridConnect (such as a RR-CirKits USB Buffer-LCC).
  • -chost The GridConnect over Tcp/Ip host to connect to (only when -cmode is Tcpip).
  • -cport The tcp port to connect with (only when -cmode is Tcpip).
  • -csocket The CAN socket name (only when -cmode is Socket).
  • -cdevice The tty device to connect to (only when -cmode is USB).
  • -nid The OpenLCB Node ID for the router.
  • -log The file to use for logging.
  • -debug Enable debugging messages.
  • -nodename The name of this router node.
  • -nodedescription The description of this router node.

AUTHOR

Robert Heller <heller@deepsoft.com>