HTTP GET parameters index

This page lists custom HTTP GET parameters available in the default Plug & Program embedded webserver firmware

An example of an HTTP GET url from a form: “//192.168.1.100/index.htm?ledh=1&ledh=2″

Traditionally HTTP GET parameters were submitted by HTML forms (method = “get”)  with a specific form handler page (action = “ your url “)

All Plug & Program custom HTTP GET parameters are available independently of the form handler page

I.e. if your HTTP GET parameters are submitted via a form with  ’action = “your URL”, method = “get”, the URL can be any valid URL on your web interface

We have preloaded an empty file “httpget.cgi” which you can use as well

(Source code is here )

LCD Control

Related hardware module : PNP-LCD16X2

lcdbldim=n

Purpose :  set LCD backlight level for lcdblmode (see below) 2 & 3 dimmed

Form Handler page :  Any (use httpget.cgi if not sure)

Parameters :

  • n = 0-20 ( 0 = no lighting, 20 = maximum)

Default: 20

Example : set dim level 5:

http://192.168.1.100/httpget.cgi/lcdbldim=5

lcdblmode=n

Purpose :  set LCD backlight mode

Form Handler page :  Any (use httpget.cgi if not sure)

Parameters :

  • n = 0: LCD backlight off
  • n = 1: LCD backlight on
  • n = 2: LCD backlight dimmed
  • n = 3: Pulse LCD Backlight

Default: 1

Example : turn LCD backlight off

http://192.168.1.100/httpget.cgi/lcdblmode=0

lcdblspeed=n

Purpose :  set LCD backlight pulse cycle speed

Form Handler page :  Any (use httpget.cgi if not sure)

Parameters :

  • n = 1-5

Default: 5

Example : set pulse speed to 5

http://192.168.1.100/httpget.cgi/lcdblspeed=5

LED control

Related hardware module : PNP-LED4L & PNP-LED4R

ledh=n

Purpose :  toggle current state of an individual high (top row) LED0-7

Form Handler page :  Any (use httpget.cgi if not sure)

Parameters :

  • n = Target high (Top row) LED 0-7

Example : toggle led3 from on to off or vice versa:

http://192.168.1.100/httpget.cgi/ledh=3

ledl=n

Purpose :  toggle current state of an individual low (bottom row) LED0-7

Form Handler page :  Any (use httpget.cgi if not sure)

Parameters :

  • n = Target high (Top row) LED 0-7

Example : toggle led3 from on to off or vice versa:

http://192.168.1.100/httpget.cgi/ledh=3