Copyright © 2015 WyreStorm Technologies |
11 of 14
3
rd
Party Device Control (RS-232 2 Port)
Syntax
soip2 -f /dev/ttyS0
–
b PARAM [
–
r] [
–
H]
–
s "CONTENT"
Description
Controls a third party serial device connected to RS232-
2 port.
Accepted Values:
-f: sets serial device file which is /dev/ttyS0 and cannot
be changed.
-b: sets the serial parameters like 115200-8n1 according
to a controlled third party serial device and replace
PARAM with them.
115200-8n1 contains the following parts:
Baud Rate: 115200 bps (115200 for short), chosen from
150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200,
38400, 57600 or 115200
Data Bits: 8 bits (8 for short), chosen from 5, 6, 7 or 8
Parity: None (n for short), chosen from n (None), e (Even)
or o (Odd)
Stop Bits: 1 (1 for short), chosen from 1 or 2
[-r]: automatically adds a carriage return in the end of
this command for execution. Used if needed.
[-H]: indicates CONTENT are equivalent hexadecimal
representations of a command of a controlled third
party device. Used if needed. For details, see
–
s below.
-s: sends a command to a controlled third party device
for controlling it. If
–
H is not added, the command of a
controlled third party device must be printable ASCII
characters and it will be passed through to the third
party device. In this case, you need to replace CONTENT
with this command. If
–
H is added, the command of a
controlled third party device must be converted to its
equivalent hexadecimal representations and replace
CONTENT.
Double quotation marks must be used to include
CONTENT. Otherwise, spaces cannot be recognized by
switcher.
Example Command:
soip2 -f /dev/ttyS0
–
b 115200-8n1
–
r
–
H
–
s "10 00 02 00
03 91 01 00 01 EF EF 08 01 05 01 01 FF 03 F0 00 00 00
00 00 00 00 00 00 00 00 00 17"
Response:
none
Restore Switcher to Factory Defaults
Syntax
reset_to_default.sh
Description
Restores SWITCHER to its factory defaults.
Note:
The switcher requires a manual reboot (cycle power)
after restoring defaults.
Example Command:
reset_to_default.sh
Response:
none
Reboot the Switcher
Syntax
reboot
Description
Reboots the switcher.
Example Command:
reboot
Response:
none
Summary of Contents for SW-0501-HDBT
Page 13: ......