Chat Script Command

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 command waits for the remote end to send a string a specified string.

The fail command specifies the number of times future expect commands can fail before the whole script is aborted.

The send command actually sends the specified string to the remote end of the connection followed by a newline character (0xD hex, 13 ASCII).