Support Support Home » NetCamHD » Connections » CPARAPI

CPARAPI

All parameters of camera can be controlled with CPARAPI. This description is valid for firmware V2_60.
The interface is briefly described directly on the camera self:
http://camera_ip/cparapi/help.cgi

Setting of parameter value

Syntax

The request has following syntax:
http://camera_ip/cparapi/param.cgi?action=update&(parameter_name)=(paramater_value)

Workflow

  • The client requests parameter change to new value
    • Example:
      http://camera_ip/cparapi/param.cgi?action=update&ptz.zoom=500
  • The camera changes the parameter
    • Example:
      Zoom is changed to 500
  • The camera responds with OK or Error

Getting of current parameter value

Syntax

The request has following syntax:
http://camera_ip/cparapi/param.cgi?action=list&group=(parameter_name)

Workflow

  • The client requests the parameter value
    • Example:
      http://camera_ip/cparapi/param.cgi?action=list&group=ptz.zoom
  • The camera responds with list of all parameters with name starting with requested name (parameter_name)=(parameter_value)
    • Example:
      ptz.zoom=2000
      ptz.zoomDigitalEnabled=no

Parameters

Description of some parameters is in CPARAPI Parameters.
List of all current parameters can be get from camera using:
http://camera_ip/cparapi/param.cgi?action=list

Restart

To restart the camera:
http://camera_ip/cparapi/sys.cgi?action=restart_cam