Polycom SoundStructure C16 Design Manual page 664

Hide thumbs Also See for SoundStructure C16:
Table of Contents

Advertisement

Design Guide for the Polycom SoundStructure C16, C12, C8, and SR12
set ser_flow 1 hw
set ser_flow 1 none
Command
set ser_send 1 "Hello,
World\\r"
set ser_send 1
"\\x48\\x65\\x6c\\x6c\\x6f\\
x2c\\x20\\x57\\x6f\\x72\\x
6c\\x64\\x0d"
A - 148
val ser_flow 1 hw
val ser_flow 1 none
ser_send
Argument
Channel Type
Value Type
Read/Write Mode
System Limits
Event Source
Description
This parameter is used to broadcast arbitrary commands to equipment
attached to the RS-232 port. If the ser_control_mode parameter is set to broad-
cast for the RS-232 port, then the data in the string will be sent to the RS-232
port. If it is set to command then setting this parameter has no effect.
Special characters may be included in the string by escaping them. Since the
string format already uses a backslash to escape double quote characters, a
double backslash must be used to escape the special characters for this param-
eter. The following escape sequences are supported.
\\ -- a single backslash character
\\n -- new line
\\r -- carriage return
\\xNN -- byte value in hexadecimal (must contain exactly two digits)
Examples
Response
set ser_send 1 "Hello,
World\\r"
set ser_send 1
\\x48\\x65\\x6c\\x6c\\6f\\x
2c\\x20\\x57\\x6f\\x72\\x6
c\\x64\\x0d"
Sets the serial port flow control on device 1 (the first
device) to 'hw'.
Disables the serial port flow control on device 1 (the first
device) by setting the flow control to 'none'.
Send Arbitrary Data to RS-232 Port
Argument value
Device-Specific System
String
Read-Only
Max String Length: 256
No
Description
Send the string "Hello, World" followed by a carriage
return to the RS-232 port on device 1.
Send the same string as the previous example, but using
hexadecimal to specify the bytes instead.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents