JDS Uniphase WEB XPANDER RS-232 User Manual

Page 31

Advertising
background image

Example

1:

sendcommand.cgi?var1=%23%23%2507&var2=str&var3=%23%230

%23 is the URL-encoded character ‘#’ and %25 is the URL-encoded character
‘%’. Most characters other than numbers and letters must be URL-encoded for
transmission via HTTP.

Example 1 (above) sends the command ##%07 and waits for the string ##0

Example

2:

sendcommand.cgi?var1=%23%23%2520&var2=time&var3=1500

Example 2 sends the command ##%20 (x10 status) and waits 1.5 seconds
(1500 ms) for the command to complete.

Fixed Internet Time Sync Daylight Savings problem


v1.3 13-May-2003

Added option to disable time sync on WebX Settings page (as default)

Added additional checking in internet time sync to ensure time is set correctly

Added additional web page for custom application interaction

sendcommand2.cgi : Sends command to STARGATE and returns results

This page is not protected through browser security (i.e.
username/password popup) but requires the username/password be passed
on the URL to make it easier to use from other systems (i.e. custom
interfaces) that may have trouble with browser authentication


sendcommand2.cgi?var1=<command>&var2=<stop condition>&var3=<stop
param>&var4=username&var5=password


Examples:
sendcommand2.cgi?var1=%23%23%2507&var2=str&var3=%23%230&var4=
webx&var5=webx (send ##%20, wait for string ##0)

sendcommand2.cgi?var1=%23%23%2507&var2=time&var3=1500&var4=
webx&var5=webx (send ##%07, wait for 1.5 sec)

A/V Page doesn't disappear and refresh after each command is sent

Widths of text areas in Message Log, Telephone Log, and History pages were

made wider


v1.3b 15-May-2003

Bug in determining PreSet Dim and Extended Code commands fixed

Advertising