Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 882 Bytes

index.md

File metadata and controls

19 lines (12 loc) · 882 Bytes

Welcome to srcp-rs

Srcp-rs provides a REST interface for SRCP servers. It is a sister project to Gember which is a web application to control a model railroad.

Installation

It is assumed a SRCP server, e.g. SRCPD, is running.

If srcp-rs is started without arguments it connects to port 4303 on localhost. Otherwise the first argument is used to connect to the SRCP server.

Srcp-rs opens a websocket on port 4201 and the REST interface is at port 4202.

Cross compilation is easy. See for an example the rpi-build.sh script in the docs directory.