Par Type Description
42 Integer Currently decoded audio format:
0 = MP3
1 = u-Law
2 = A-Law
3 = PCM
5 = WMA
6 = Ogg Vorbis
7 = AAC/AAC+
45 Integer IPAM identification (module type)
46 Integer Flash memory size in kB
47 Boolean
(Int.)
Remote firmware update:
0 = not available (flash too small)
1 = available
49 Integer Left audio output channel quasi peak in dBFS
50 Integer Right audio output channel quasi peak in dBFS
51..6
6
Integer Current state of the relay 1..16:
0=not activated
1=activated
9=not available on the hardware
1000
..
Integer Access to device I/O registers. Returns the value of I/O register
“par-1000”.
See complete I/O table for each hardware device in ABCL
Technical Documentation.
4.4 Configuration via HTML Pages
The HTML pages for the device configuration use the “dynamic web page”
functionality. All of the configuration parameters are placed in HTML forms and are
transferred by the “POST” method. Input values can be checked by Javascript to
prevent incorrect values (see example below). Not all configuration parameters
have to be present in the form. It is possible to have only a part of the configuration
on a web page. The form has to start with the following three tags:
<form method=POST action=setup.cgi target="empty">
<input type="hidden" type="text" name=S480 value=__target__>
<input type="hidden" type="text" name=L value=rebooting.html
target=_top>
Please note that the above example illustrates the default WEB UI HTML set. It is
possible to design custom pages with a different structure, then the targets of the
form and of the rebooting.html as well as the answer page can be different.
After submitting the configuration the page rebooting.html is returned while the
device reboots. On error the respective error code is returned without ddisplaying
the page rebooting.html.
The page rebooting.html contains a count-down timer and a redirect back to the
configuration page. The value __target__ specifies the name of the page to be
redirected to (without the “.html”; i.e. “uisettings”) and should correspond to the
name of the HTML file. I.e. in uinetwork.html the value contains:
<input type="hidden" type="text" name=S480 value=uinetwork>
Please note that the maximum length of the target page is 16 characters. To
prevent collision and a potential damage of the configuration in case of
simultaneous access only one client is allowed to access setup.cgi at a time.
BARIX AG | 30/63
Komentáře k této Příručce