JDS Uniphase RS-232 operation manual

Page 31

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

Image 31
Contents Web Xpander Web Xpander What You Need Installing the Web XpanderWelcome to Web Xpander What’s IncludedNetwork Connection Network Configuration Viewing Current Network Settings Command Description Example Manually Configuring Web Xpander Network SettingsLighting Web PagesX10 Digital Analog Relay Timer Ascii MSG LOG TEL LOG Auto Page Refresh SettingsImporting and Sending Device Labels ConfigurationLoad Default Labels Web Xpander LabelerAppendix a Web Xpander Commands Description Example Enables or disables Appendix B Sending Email with the Web Xpander Smtp AuthenticationAppendix C Managing a Dynamic Home Internet Address Appendix D Ethernet to Serial Bridge Functionality Page Page Appendix F Performing a Firmware Update on the Web Xpander Page Page Page Advanced Appendix H Internet Time Synchronization Appendix I Advanced WebXpander URL Commands Example Event Disable Webx Appendix K Web Xpander Firmware Release History Page Page