UPNP_CONFIG

 

Description

Get or Set UPnP Configurations.

When the UPnP function is enabled in the device, the remote hosts could discover the device automatically through UPnP Protocol. Therefore, the hosts could visit the device's WEB page directly without knowing device's IP addresses.

Input Argument

state,name

input argument description
state 0 : Disabled
1 : Enabled
name name: UPnP friendly name in 31 bytes character string.
The syntax rule of name follows the rule of Valid Character in Networking Name in the Valid Characters in URI.
If name is missing, the device uses its friendly name for UPnP.
If name is NULL, the error message will be returned.
Example :
Allowed Command UPNP_CONFIG=state
UPNP_CONFIG=state,name
Not Allowed Command UPNP_CONFIG=state,

Attribute

Return of Message

UPNP_CONFIG='0,IPCAM-00001'
or
UPNP_CONFIG='1,IPCAM-00001'

OK: UPNP_CONFIG='0'
or
OK: UPNP_CONFIG='1,IPCAM-00001'
or
ERROR: UPNP_CONFIG='0'

Applicability

Status

Valid

Example

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&UPNP_CONFIG
or
http://ip:port/cgi-bin/cmd/system?UPNP_CONFIG

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&UPNP_CONFIG=1,IPCAM-00001
or
http://ip:port/cgi-bin/cmd/system?UPNP_CONFIG=1,IPCAM-00001

See also

None

Back to

HOME, SYSTEM CGI