The BAYTECH module provides serial access to a Baytech Power Strip.
The BAYTECH module provides the end user or client with the following capabilities:
Reset the Baytech Unit
Power on a Port
Power off a Port
Reboot a Port
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 |
FORMAT: BAYTECH:RESET:<NODE_ID> RESPONSES: JOB_STARTED JOB_COMPLETED |
FORMAT: BAYTECH:PORT_ON:<NODE_ID>:<PORT_ID> RESPONSES: JOB_STARTED JOB_COMPLETED |
FORMAT: BAYTECH:PORT_OFF:<NODE_ID>:<PORT_ID> RESPONSES: JOB_STARTED JOB_COMPLETED |
FORMAT: BAYTECH:PORT_REBOOT:<NODE_ID>:<PORT_ID> RESPONSES: JOB_STARTED JOB_COMPLETED |