Communication and Control, cont’d
At this point the driver is populated with unlearned functions. To learn driver functions:
1.Select those functions that are to be learned (see
figure 4-20). Then begin a learning session by pressing the learn toolbar button. A series of messages and windows will guide the user through the “learn” process, instructing the user on how to aim the remote, what button to press and when to release the button.
2.Save the driver by selecting File->Save, or you can add or learn new functions.
Figure 4-20 — Selecting driver functions
For more details about IR learning, refer to the IPL T IR Learner User’s Manual.
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 the Web browser, the encapsulation characters are modified to make sure that the Web browser will properly handle them. All examples in the command/response table shows the proper implementation in a Telnet or Web browser session.
For Web browsers: all
where xx equals the two character representation of the hex byte that needs to be sent (e.g., 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
(e.g., 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 later in this chapter.
With Telnet you can use either the “Escape” commands or the “W” commands, and the carriage return or the pipe character. With the Web browser, you are required to use the “W” commands and the pipe character.
In either method {Data} = Data will be directed to a specified port and must be encoded if
The table on pages
Upper and lower case text can be used interchangeably except where noted.
Symbol definitions are shown below. An ASCII to HEX conversion table is also provided in figure
ASCII to HEX Conversion Table |
• |
Figure 4-21 — ASCII-to-HEX conversion table
IPL T SF24 and IPL T SFI244 • Communication and Control |