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.
state,name
input argument description state 0 : Disabled
1 : Enabledname 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,
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'
Valid
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
None