Chat Script Argument
Site chat scripts allow the LRS to connect to different types of servers by providing a custom script which defines the connection procedure. A chat script consists of lines where each line is a command. The possible commands are expect, fail, and send. The expect and send commands each take a single argument which is the string to expect or to send.
The following special characters can be used in expect arguments, which are case-sensitive:
String | Meaning | String | Meaning |
\N (0x0 hex)
| Newline
| \b (0x8 hex)
| Backspace
|
\r (0xd hex)
| Return
| \n (0xda hex)
| Newline
|
\t (0x14 hex)
| Tab
| \\ (0x5c hex)
| \
|
\s (0x20 hex)
| Space
| \octal
| Octal value (i.e., \101 = "A")
|