beautypg.com

Programmer’s guide for the telnet and web browser, Using the command/response table, Programmer’s guide for the telnet and web – Extron Electronics IPL T SFI244 User Manual

Page 38: Browser, Commands (see, Programmer’s guide for, The telnet and web browser, Via t, Programmer’s guide for the telnet and, Web browser

background image

Programmer’s Guide for the Telnet and Web Browser

Using the Command/Response Table

The following are either Telnet (port 23) or Web browser (port 80) commands. There
are some minor differences when implementing these commands via Telnet or via URL
encoding using a Web browser. All commands listed below will work using either
connection method, but due to some limitations of Web browsers, the encapsulation
characters are modified to make sure that the Web browser will properly handle them. All
examples in the

command/response table

show the proper implementation in a Telnet

or Web browser session.

NOTE: For Web browsers, all non-alphanumeric characters must be represented

as their hex equivalent such as %xx where xx equals the two-character
representation of the hex byte that needs to be sent (for example, a comma
would be represented as %2C).

Telnet

Web Browser

Escape (Hex 1B)

W [must not be encoded]

Carriage Return (Hex 0D)

Pipe Character ( | ) [must not be encoded]

When using these commands through a Web browser, the URL reference is used below to
shorten the examples. This would, in practice, be the full URL of the control interface and
Web page reference including all path information (for example,
http://192.168.100.10/myform.htm).

To send any of the commands using a Web browser, you need to prefix them with the full
URL followed by

?cmd= (see

URL Encoding

).

NOTE: With Telnet you can use either the “Escape” character or the “W” character,

and the carriage return or the pipe character. With the Web browser, you are
required to use the “W” character and the pipe character.

In either method {Data} signifies that data will be directed to a specified port and must be
encoded if it is non-alphanumeric.

The table on pages 36 through 41 lists the commands that the IPL T SFI244 recognizes
as valid, the responses that are returned to the host, a description of each command’s
function, and the results of executing the command.

NOTE: Upper and lower case text can be used interchangeably except where noted.

IPL T SFI244 • Communication and Control

32