Digi 90000566_H manual Entering Special Characters in String Values, Escape Processed as Sequence

Models: 90000566_H

1 278
Download 278 pages 26.72 Kb
Page 13
Image 13

Basic Command Information

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

Processed as:

Sequence

 

 

 

\*

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 on 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.

Chapter 1 Introduction

13

Page 13
Image 13
Digi 90000566_H manual Entering Special Characters in String Values, Escape Processed as Sequence