Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

PingThingsIO/c37splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C37 Splitter

This minimalist splitter for C37 streams can receive or make TCP connections from a PMU and then forward that traffic to one or more downstream services by either accepting or making connections to them.

To start the splitter, run:

./c37splitter <config>

A typical configuration file may look like:

# true if we initiate the connection to upstream, false if we accept it
dialUpstream: true
# if dialUpstream is true, this is used
upstreamDialAddress: 10.4.1.70:4713
# if dialUpstream is false, this is used
upstreamListenAddress: 0.0.0.0:4713

# true if we support incoming connections for downstream
listenDownstream: true
# used if the above is true
downstreamListenAddress: 0.0.0.0:4714
# in addition to the above, these addresses, if provided, will be dialed
# for downstream relay
dialDownstreamAddresses:
 - 127.0.0.1:5555
 - 127.0.0.1:5556

About

A minimalist, C37 stream splitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published