Skip to content

jearly/serial-port-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Port Relay Controller

Description:

This daemon was originally wriiten to serve a single purpose. You will have to modify the start() function to test against your own parameters and trigger the setDTR functionality.

Installation

1.) Get Dependencies

Note: if you do not have pip already installed run the following:

CentOS/RedHat:

sudo yum install python-setuptools 
sudo easy_install pip

Debian/Ubuntu:

sudo apt-get install python-setuptools
sudo easy_install pip

Install Dependencies:

sudo pip install pyserial

2.) Clone the project onto a linux host.

git clone [email protected]:jearly/serial-port-relay.git

3.) Jump into the new serial-port-relay directory and run setup.sh

cd serial-port-relay
sudo sh setup.sh

4.) Start and stop the daemon with the following command:

/etc/init.d/relay-control start|stop

About

Serial Port Relay Control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published