Basic command information
Entering special characters in string values
ConnectPort® LTS Command Reference
12
Entering special characters in string values
Several commands have options that are string values, for example the “set alarm” command’s
“match” option and the “set autoconnect” command’s “connect_on_string” option.
Escape sequences for special characters
Special characters can be entered in strings using the following escape sequences:
Escape Sequence
Processed as:
\*
Match any character. This escape sequence is only available on the
“set alarm match=string” option.
\a
Alert character.
\b
Backspace character.
\f
Form-feed character.
\n
New-line character.
\r
Carriage-return character.
\s
Acts as a separator between characters. This sequence allows you
to enter a string such as “\xB8\s4” where you want the B8
translated as a hexadecimal character separate from the numeric
character 4
\t
Horizontal tab character.
\v
Vertical tab character.
\\
Backslash character ( \ ).
\xN
A hexadecimal number, where N is up to 20 hexadecimal digits. For
example: \x10\x2
\N
An octal byte, where N is up to 3 octal digits. For example: \2 or
\208
Length limitations for string values
String values for certain command options have specific limitations on the maximum total string value
including special characters, and the maximum parsed value (that is, the character-string length when
any escape sequences in the string are processed). The option descriptions note these maximum
lengths.
Verifying device support for commands
To verify whether a ConnectPort LTS device supports a particular command or command options, and
to get the allowed ranges and limits for command options, you can enter several commands. For
example:
n
“help” displays all supported commands for a device.
n
“?” displays all supported commands for a device.
n
“set ?” displays the syntax and options for the “set” command. You can use this to determine
whether the device includes a particular “set” command variant.
Содержание ConnectPort LTS 16
Страница 1: ...ConnectPort LTS Command Reference ...
Страница 117: ...Command descriptions set service ConnectPort LTS Command Reference 117 See also n revert n set network n show ...
Страница 152: ...Command descriptions set usb ConnectPort LTS Command Reference 152 Example Format the USB memory set usb format id 1 ...