URL CGI Program

 

This CGI provides the URL command to access the Decoder devices.

Only root could set the configuration through this CGI. If the logon user is not root, all write commands will be treated as read commands. Some settings are confidential and could be read by root only. In this case, the error message will be returned.

The return message of URL does not follow the Specification of Return Message for PlarformW decoders. In PlatformA decoders, the return message of the URL have to follow the specification of Specification of Return Message.

The document was created far ago and was not maintained anymore. Please use URLs in DECODER CGI for your applications.

NOTE:

This CGI will be replaced with the DECODER CGI. That will be claimed with the release of device's firmware in the future.

List of URLs

The URL command in this CGI was not maintained anymore. Please the URL command in URL CGI for further information. For New design, please refer the URL command in DECODER CGI.

The syntax of the command is listed as follow:

http://<IP Address>/cgi-bin/url.cgi?USER=<Account Name>&PWD=<Password>&<Parameters>

URL Attribute (R/W, On-Fly)1
PlatformW Decoder PlatfromA Decoder2
HOST RO,X None
LAN_HOSTNAME WO,X RW,V
LAN_IP WO,X None
LAN_NETMASK WO,X None
LANGUAGE WO,V RW,V
BAUDRATE WO.X None
UARTSETTING WO,X None
SERIAL_SETTING None RW,V
SERIAL_ASCII None WO,V
SERIAL_HEX None WO,V
VIDEO_OSD WO,X None
OSD None RO,X
OSD_X WO,V RW,V
OSD_Y WO,V RW,V
OSD_DATE_TIME None RW,V
OSD_DATE_FORMAT None RW,V
OSD_SERVER_IP None RW,V
OSD_CAMERA_NAME None RW,V
OSD_LOCAL_IP None RW,V
OSD_MOTION_DETECT None RW,V
OSD_STATUS None RW,V
VIDEO_TV WO,V RW,X
VOL_AUDIOOUT WO,V None
VOI_AUDIOIN WO,V None
AUDIO_MIC_BOOST None RW,V
AUDIO_SET_VOL None RW,X
WAN RO,X RO,X
WAN_TYPE WO,X RW,X
WAN_IP WO,X RW,X
WAN_NETMASK WO,X RW,X
WAN_GATEWAY WO,X RW,X
WAN_PPPOE_USERNAME WO,X RW,X
WAN_PPPOE_PASSWORD WO,X RW,X
DNS None RO,X
DNS_PRIMARY WO,X RW,X
DNS_SECONDARY WO,X RW,X
DDNS None RO,X
DDNS_TYPE WO,X RW,X
DDNS_HOSTNAME WO,X RW,X
DDNS_SERVICE WO,X RW,X
DDNS_USERNAME WO,X RW,X
DDNS_PASSWORD WO,X RW,X
PORT RO,X RO,X
PORT_HTTP WO,X WO,X
PORT_HOST_SEARCH_1 WO,X RW,X
PORT_HOST_SEARCH_2 WO,X RW,X
PROTOCOL_VERSION WO,X None
V2_STREAMING_TYPE None RO,X
VIDEOSERVER RO,X None
CHxx_VIDEO_CONNECT WO,X WR,X3
CHxx_VIDEO_VARFPS WO,X WR,X3
CHxx_VIDEO_STREAM WO,X None
CHxx_VIDEO_AUDIO WO,X WR,X3
CHxx_VIDEO_CONTROL WO,X WR,X3
CHxx_VIDEO_TCP_IP WO,X WR,X3
CHxx_VIDEO_MULTICAST_IP WO,X WR,X3
CHxx_VIDEO_USERNAME WO,X WR,X3
CHxx_VIDEO_PASSWORD WO,X WR,X3
CHxx_PORT_STREAM WO,X WR,X3
CHxx_PORT_CONTROL WO,X WR,X3
CHxx_PORT_MULTICAST WO,X WR,X3
CHxx_PORT_RTP WO,X WR,X3
CHxx_PORT_HTTP WO,X WR,X3
CHxx_TIME WO,X None
CHxx_SOURCE_TYPE None WR,X3
CHxx_QUAD_CHANNEL None WR,X3
CHxx_CHANNEL None WR,X3
SWITCH WO,V None
VIDEO_VARFPS WO,V None
VIDEO_SOURCE_NAME None WO,X3
SWITCH_TCP None WO,X3
SWITCH_MUL None WO,X3
SWITCH_RTP None WO,X3
ACCOUNT RO,X RO,X
ACCOUNT_ROOT_NAME WO,X RW,V
ACCOUNT_ROOT_PASSWORD WO,X RW,V
ACCOUNT_USER_NAME_N WO,X RW,V
ACCOUNT_USER_PASSWORD_N WO,X RW,V
NETWORKACCESS_STOP 4 None WO,V
SET_FRAME_Q_LEN 4 None WO,V
RS232_TEST 4 None WO,V
AUDIO_LOOP_BACK 4 None WO,V

Back to

HOME

Foot Note

1 The first part is for Access Mode. It could be RW (Readable and Writeable), RO (Read Only), WO (Write Only) or None (Not Support)
The second part is for On-Fly indication. if the change of URL is effective immediately without save and reboot, It could be V (the URL is on-fly). Otherwise, it is X (the URL is not on-fly).
2 The URL is available in SYSTEM and URL CGIs.
3 Only CHANNEL=01 is supported. The URL will be CH01_xxxxxx.
4 For Test and Internal Use Only