BAYTECH Module

The BAYTECH module provides serial access to a Baytech Power Strip.

Module Features

The BAYTECH module provides the end user or client with the following capabilities:

Configuring the Baytech Module To Manage a Powerstrip

The CONFIGURATION command is used to set the physical device address of the Baytech Power Strip.
FORMAT:
BAYTECH:CONFIGURATION:<NODE_ID>:<DEVICE_ADDRESS>
RESPONSES:
JOB_STARTED
JOB_ERROR:(errno string)
JOB_COMPLETED
FIELDS:
<DEVICE_ADDRESS> - Either a serial port or the address of a port on
a terminal server in the form of hostname-port

Resetting a Baytech Unit

FORMAT:
BAYTECH:RESET:<NODE_ID>
RESPONSES:
JOB_STARTED
JOB_COMPLETED

Powering on a Port

FORMAT:
BAYTECH:PORT_ON:<NODE_ID>:<PORT_ID>
RESPONSES:
JOB_STARTED
JOB_COMPLETED

Powering off a Port

FORMAT:
BAYTECH:PORT_OFF:<NODE_ID>:<PORT_ID>
RESPONSES:
JOB_STARTED
JOB_COMPLETED

Rebooting a Port

FORMAT:
BAYTECH:PORT_REBOOT:<NODE_ID>:<PORT_ID>
RESPONSES:
JOB_STARTED
JOB_COMPLETED