NetLinx Programming
Command | Description | |
|
| |
GET SAP IP ALT | Requests the configuration of the alternate SAP advertisement address and | |
Get a description of the | port. | |
Syntax: | ||
alternate address and port | ||
being used for SAP | SEND_COMMAND <DEV>,"'GET SAP IP ALT'" | |
advertisements. | ||
Variable: | ||
| ||
| address = Address for SAP advertisements in IPv4 dot notation | |
| (ex: X.X.X.X). | |
| port = Port for SAP advertisements. | |
| Example: | |
| SEND_COMMAND DECODER,"'GET SAP IP ALT'" | |
| System response: | |
| SAP IP ALT=224.2.127.254:9875 | |
| Indicates that the alternate SAP IP address and port is configured for the | |
| multicast address 224.2.127.254 and port 9875. | |
|
| |
GET SESSION CHANGE | Requests whether the SAP session list has changed since the last GET SES- | |
Determine whether the SAP | SION LIST command. | |
| ||
session list has changed. | Syntax: | |
| SEND_COMMAND <DEV>,"'GET SESSION CHANGE'" | |
| Variable: | |
| result = boolean value: 0 for false, 1 for true. | |
| Example: | |
| SEND_COMMAND DECODER,"'GET SESSION CHANGE'" | |
| System response: | |
| SESSION CHANGE=1 | |
| Indicates that the SAP session list has changed. | |
|
| |
GET SESSION CURSOR | Requests the current position in the SAP session list, of the stream the | |
Get the current position in the | decoder is watching, while in SAP control mode. | |
session list. | Syntax: | |
| SEND_COMMAND <DEV>,"'GET SESSION CURSOR'" | |
| Variable: | |
| position = numeric index. | |
| Example: | |
| SEND_COMMAND DECODER,"'GET SESSION CURSOR'" | |
| System response: | |
| SESSION CURSOR=1 | |
| Indicates that the | |
|
| |
GET SESSION INFO | Requests the contents of a SAP field from the specified session. | |
Get a field description from | Syntax: | |
the specified streaming | SEND_COMMAND <DEV>,"'GET SESSION INFO <index><field>'" | |
session. | Variable: | |
| index = position index of the session in the session list. | |
| field = CONTACT, EMAIL, DESC, IPADDR, PHONE, TITLE, or URI | |
| Example: | |
| SEND_COMMAND DECODER,"'GET SESSION INFO 1 TITLE'" | |
| System response: | |
| SESSION INFO 1 | |
| Indicates that the stream title of the first session is | |
|
|
90 |