Technical Documentation “Instreamer “ - V4.03 - 24th October 2013
2.10 Configuration via the command interfaces
The difference between the command and the configuration interface is only the prefix used, i.e. setup.cgi instead of rc.cgi for the cgi web interface.
Element Description CGI command SERIAL, TCP or UDP command
SETCONFIG Sets the configuration
The expected string is exactly the one the HTML browser
generates for the used forms for the configuration. (L= see
GETDYNFILE)
(see table in chapter 2.15 Configuration via HTML Pages for the
names)
The device will respond with HTTP status 200 OK and if
referenced with the optional <file>. Then it will reboot.
Examples for set the IP address to 192.168.1.22:
for Serial: C=L=&B0=192&B1=168&B2=1&B3=22
for cgi: setup.cgi?
L=uinetwork.html&B0=192&B1=168&B2=1&B3=22
or rc.cgi?
C=L=uinetwork.html&B0=192&B1=168&B2=1&B3=22
L=<file>&… 0x43 0x3D 0x4C … (C=L=… )
GETCONFIG Gets the configuration
See the file getconfig.ack for the answer.
L=getconfig.ac
k
(L=getconfig.ack )
14 Software Application Interface Software Application Interface 14
Comentarios a estos manuales