SVR
1

//form
34
(0)	/param.cgi?action=get&group=<g>
(1)	/param.cgi?action=set&<g>.<p>=<v>[&<g>.<p>=<v>]
	/param.cgi?action=get&group=<g>
	/restart.cgi
	/ptz/ptz.cgi?<g>&<p>=<v>[&<p>=<v>]	//<g>: camera=#
(5)	/param.cgi?action=get&group=<g>
	/param.cgi?action=get&group=<g>
	/param.cgi?action=get&group=<g>
	/param.cgi?action=get&group=<g>
	/param.cgi?action=get&group=<g>
(10)	/param.cgi?action=get&group=<g>
	/system/user.cgi?action=get
	/system/user.cgi?action=set&userid=1&password=<v>
	/system/detectcam.cgi?camera=#
	/system/detectcam.cgi?camera=#
(15)	/system/getuid.cgi
	/system/searchpb.cgi?<p>=<v>[&<p>=<v>]
	/system/searcheventpb.cgi?<p>=<v>[&<p>=<v>]
	/system/playbackctrl.cgi?<p>=<v>[&<p>=<v>]
	/system/user.cgi?action=add&<p>=<v>[&<p>=<v>]
(20)	/system/user.cgi?action=remove&<p>=<v>
(21)    /system/removecam.cgi?camera=#
(22)	/event/searchevent.cgi?<p>=<v>[&<p>=<v>]
(23)	/camstatus.cgi?&<p>=<v>
(24)	/event/cmstrigger.cgi?camera=#&<p>=<v>[&<p>=<v>]
(25)    /event/basicevent.cgi?action=get
(26)    /event/basicevent.cgi?action=set&<p>=<v>[&<p>=<v>]
(27)    /event/basicevent.cgi?action=remove
(28)    /event/httpserver.cgi?action=add&<p>=<v>[&<p>=<v>]
(29)    /event/httpserver.cgi?action=set&<p>=<v>[&<p>=<v>]
(30)    /event/httpserver.cgi?action=get&<g>
(31)    /event/httpserver.cgi?action=remove&<g>
(32)    /camstatus.cgi
(33)	/getsvrcapability.cgi

//group map
19
(0)	svr.network
(1)	svr.system
	camera_c#.image
	camera_c#.ptz
	camera_c#.presetposition_p1
(5)	camera_c#.presetposition_p2
	camera_c#.presetposition_p3
	camera_c#.presetposition_p4
	camera_c#.presetposition_p5
	camera_c#.presetposition_p6
(10)	camera_c#.presetposition_p7
	camera_c#.presetposition_p8
	camera_c#.system
	camera_c#.network
	camera_c#.audio
(15)    svr.camevent
(16)	svr.usergroup_u#
(17)	camera=#
(18)    serverid=#

//value map
3
(100)	2	no 		yes
(101)	2	vbr		cbr
(102)	2	none		dhcp

//value range
0

//group
24	//group count
0	Network			14 //group number ,group name, parameter count
1	RTSP			2
4	Brand			1	
5	System 			5
6	PTZ			20
7 	Audio			3
8 	Preset			18
9 	Admin			8
10	DisplayMode		6
11	PlayBackUserID		1
12	SearchByTime		5
13	SearchByEvent		4
14	PlayBackCtrl		3
15	SVR_Channel		38
16	SVR_UserGroup		6
17	SVR_SearchEvent		3
18	SVR_CameraStatus	2
19	SVR_MotionTrigger	4
21      SVR_AddHttpServer       17
        //22      SVR_HttpServerList      2
23      SVR_CameraIOSetting     13
24      SVR_EventEnable         9
25      SVR_TimeSync            6
26      SVR_StreamingPort       1
27	SVR_Capability		10

//parameter friendly name
(0)	StaticIP StaticNetMask StaticGateway BootProto StaticDNS1 StaticDNS2 HttpPort R_DNS1 R_DNS2 R_MAC R_IP R_NetMask R_Gateway DNSFromDHCP
(1)	RTSPEnabled RTSPPort
(4)	Brand	
(5)	Brand Model MACAddress Restart TimeZone
(6)	Enabled ABS_Enabled CurrentPan CurrentTilt CurrentZoom CurrentFocus CurrentBrightness CurretnAutoFocusSetting
	R_pan R_tilt R_Zoom R_Focus R_Iris AutoPan AutoIris move 255
	lensmode imagesizex imagesizey
(7)	DuplexMode FormatList Format
(8)	PresetMaxNbr GotoPresetNbr SetPresetNbr RemovePresetNbr Speed
	Pos1 Pos2 Pos3 Pos4 Pos5 Pos6 Pos7 Pos8 
	GotoHome SetHome lensmode imagesizex imagesizey
(9)	AdminName DelName AnonymousViewer RootPwd GetUserList AdminPwd UserName UserPwd
(10)	CameraPositionList CameraPosition DisplayModeListLeft DisplayModeLeft DisplayModeListRight DisplayModeRight
(11)	UserID
(12)	CameraID StartTime EndTime NumberOfSegments ShowMillisecond
(13)	CameraID SearchTime NumberofResult SearchWay
(14)	UserID Action TimeStamp
(15)	IP HttpPort Username Password Format Resolution CameraName Brand AudioCap AudioPort 
	VideoPort Mode AudioFormat AudioFormatList ModelName DirectionCap ZoomCap FocusCap IrisCap AutoIrisCap
	PresetCap PresetNOCap Speed SpeedRange MoveRange AutopanCap AbsMoveCap AutoFocus AutoIris PresetSeq
	PresetSeqList PresetSeqDwell PresetSeqEnabled PresetHomeID Type ComPort Protocol PTZID
(16)	name securitylevel liveview playback ptz sysconfig
(17)	CameraID StartTime NumberOfResults
(18)	CameraStatus CameraStatusAll
(19)	Action InputID TimeStamp TriggerStatus
(21)    ServerName ServerID Enabled ServerURL Parameter ServerPort UserName Password ServerName ServerID Enabled ServerURL Parameter ServerPort UserName Password RemoveServer
(23)    TriggerInterval TriggerDuration TriggerDuraDay TriggerDurTime AttachedFileType JpgFileName NoOfJPGFile
        AVFileName AVSize TxtFileName MsgContent EmailSubject EventSettingMode
(24)    CameraTrigger SVRTrigger OutputEnabled RecipientEmail FtpEnabled UploadPath HttpEnabled BuzzerEnabled removesetting
(25)    SVRTime TimeSync NTPServerAddr SummerTime TimeZone NTPUpdateInterval
(26)    StreamingPort
(27)	BrandName ModelName FirmwareVersion MaxChannelSupport MaxHDSupport 
	InputPortSupport OutputPortSupport CameraBrandSuport DISSupport CMSSupport

//----------------------------------------------------------------------------------------------
//get form
(0)	0 0 0 0 0 0 0 0 0 2 0 0 0 255
(1)	0 2
(4)	0	
(5)	0 0 0 255 0
(6)	0 255 255 255 255 255 255 0 255 255 255 255 255 0 255 255 255
	255 255 255	
(7)	8 255 255
(8)	255 255 255 255 255
	0 2 10 9 8 7 6 5 
	255 255 255 255 255
(9)	255 255 255 255 255 255 255 11
(10)	0 0 0 0 0 0
(11)	15
(12)	255 255 255 255 255
(13)	255 255 255 255
(14)	255 255 255
(15)	5 5 6 6 7 7 6 6 8 5 
	5 255 8 8 6 9 9 9 9 9
	9 9 9 9 9 9 9 9 9 9
	9 9 9 9 9 9 9 9
(16)	0 0 0 0 0 0
(17)	255 255 255
(18)	255 255
(19)	255 255 255 255
(21)    30 30 30 30 30 30 30 30 255 255 255 255 255 255 255 255 255
(23)    10 10 10 10 10 10 10 10 10 10 10 10 10
(24)    25 25 25 25 25 25 25 25 255
(25)    0 0 0 0 0 0
(26)    0
(27)	33 33 33 33 33 33 33 33 33 33

//set form
(0)	1 1 1 1 1 1 1 255 255 255 255 255 255 255
(1)	255 1
(4)	255		
(5)	255 255 255 3 1
(6)	255 255 255 255 255 255 255 1 4 4 4 4 4 1 4 4 255
	4 4 4	
(7)	255 255 255
(8)	4 4 4 4 4
	255 255 255 255 255 255 255 255
	4 255 4 4 4
(9)	19 19 19 20 255 255 12 255
	//(10)	255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
(10)	255 1 255 1 255 1
(11)	255
(12)	16 16 16 16 16
(13)	17 17 17 17
(14)	18 18 18
(15)	1 1 1 1 1 1 1 255 255 1 
	1 21 1 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255
(16)	1 1 1 1 1 1
(17)	22 22 22
(18)	23 32
(19)	24 24 24 24
(21)    28 28 28 28 28 28 28 28 29 29 29 29 29 29 29 29 31
(23)    1 1 1 1 1 1 1 1 1 1 1 1 1 
(24)    26 26 26 26 26 26 26 26 27
(25)    1 1 1 1 1 1
(26)    1
(27)	255 255 255 255 255 255 255 255 255 255

//group code
(0)	0 0 0 0 0 0 0 0 0 1 0 0 0 255
(1)	1 0
(4)	1	
(5)	1 1 1 255 1
(6)	3 255 255 255 255 255 255 3 17 17 17 17 17 3 17 17 255
	17 17 17
(7)	14 13 16
(8)	17 17 17 17 17
	4 5 6 7 8 9 10 11 
	255 255 17 17 17
(9)	255 255 1 255 255 255 255 255
(10)	2 2 2 2 2 2
(11)	255
(12)	255 255 255 255 255
(13)	255 255 255 255
(14)	255 255 255
(15)	13 13 12 12 2 2 12 12 14 13 
	13 255 14 14 12 3 3 3 3 3
	3 3 3 3 3 3 3 3 3 3
	3 3 3 3 3 3 3 3
(16)	16 16 16 16 16 16
(17)	255 255 255
(18)	255 255
(19)	255 255 255 255
(21)    18 18 18 18 18 18 18 18 255 255 255 255 255 255 255 255 18
(23)    15 15 15 15 15 15 15 15 15 15 15 15 15
(24)    255 255 255 255 255 255 255 255 255
(25)    1 1 1 1 1 1
(26)    0
(27)	255 255 255 255 255 255 255 255 255 255

//param name
(0)	staticipaddr staticsubnetmask defaultrouter dhcp staticdnsserver1 staticdnsserver2
	httpport dnsserver1 dnsserver2 mac ip subnetmask gateway 255
(1)	modelname streamingport
(4)	brand	
(5)	brand modelname mac 255 timezone
(6)	directioncap 255 255 255 255 255 255 autofocus speed move zoom focus iris
	autoiris autopan camera 255
	lensmode imagesizex imagesizey
(7)	audiocap 255 255
(8)	setpresetname gotopresetno setpresetno removepresetno speed
	name name name name name name name name 
	camera 255 lensmode imagesizex imagesizey
(9)	username password group userid 255 255 255 255
(10)	lensmodelist lensmode display1modelist display1mode display2modelist display2mode
(11)	uid
(12)	camera starttime endtime numbofseg showmsec
(13)	camera searchtime numberofresults searchway
(14)	uid action timestamp
(15)	ip httpport username password liveformat resolution name brand audiocap audioport 
	videoport mode format formatlist modelname directioncap zoomcap focuscap iriscap autoiriscap
	presetcap presetnocap speed speedrange moverange autopancap absmovecap autofocus autoiris presetseq
	presetseqlist presetseqdwell presetseqenabled presethomeid type comport protocol ptzid
(16)	name securitylevel liveview playback ptz sysconfig
(17)	camera starttime numberofresult
(18)	item itemall
(19)	action inputid timestamp triggerstatus
(21)    name serverid enabled url parameter port username password name serverid enabled url parameter port username password removeserver
(23)    triggerinterval triggerduration triggerdurationday triggerdurationtime attachedfiletype jpgfilename noofjpgfile
        avifilename avisize txtfilename msgcontent emailsubject mode
(24)    camera_c# svr outputenabled recipientemail ftpenabled uploadpath httpenabled buzzerenabled rmsetting
(25)    time timesync ntpserver summertime timezone ntpupdateinterval
(26)    streamingport
(27)	brand modelname firmwareversion maxchannelsupport maxhdsupport 
	inputportsupport outputportsupport camerabrandsupport dissupport cmssupport

//value map code
(0)	1 1 1 1 1 1 1 1 1 1 1 1 1 255
(1)	1 1
(4)	1	
(5)	1 1 1 1 1
(6)	1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
	1 1 1
(7)	1 1 1
(8)	1 1 1 1 1
	1 1 1 1 1 1 1 1 
	1 255 1 1 1
(9)	1 1 1 1 1 1 1 1
(10)	1 1 1 1 1 1
(11)	1
(12)	1 1 1 1 1
(13)	1 1 1 1
(14)	1 1 1
(15)	1 1 1 1 1 1 1 1 1 1 
	1 1 1 1 1 1 1 1 1 1
	1 1 1 1 1 1 1 1 1 1
	1 1 1 1 1 1 1 1
(16)	1 1 1 1 1 1
(17)	1 1 1
(18)	1 1
(19)	1 1 1 1
(21)    1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
(23)    1 1 1 1 1 1 1 1 1 1 1 1 1
(24)    1 1 1 1 1 1 1 1 1
(25)    1 1 1 1 1 1
(26)    1
(27)	1 1 1 1 1 1 1 1 1 1

//-----------------------------------------------------------------------
//parse form
8
(0)	[*<g>.<p>=<v>(n)]
(1)	<m>
(2)	[*<p>=<v>(n)]
(3)	<f>
(4)     [*<p>=<v>;]
(5)     [*<p>;<v>(n)]
(6)     <r>
(7)     [<g>.<p>=<v>(n)]

//<m> form
1
OK

//get parse form
(0)	0 0 0 0 0 0 0 0 0 0 0 0 0 255
(1)	0 0
(4)	0	
(5)	0 0 0 255 0
(6)	0 255 5 5 5 5 5 0 255 255 255 255 255 0 255 255 255
	255 255 255
(7)	0 0 0
(8)	255 255 255 255 255
	0 0 0 0 0 0 0 0 
	255 255 255 255 255
(9)	255 255 0 255 255 255 255 3
(10)	7 7 7 7 7 7
(11)	2
(12)	255 255 255 255 255
(13)	255 255 255 255
(14)	255 255 255
(15)	0 0 0 0 0 0 0 0 0 0 
	0 255 0 0 0 0 0 0 0 0
	0 0 0 0 0 0 0 0 0 0
	0 0 0 0 0 0 0 0
(16)	0 0 0 0 0 0
(17)	255 255 255
(18)	255 255
(19)	255 255 255 255
(21)    4 4 4 4 4 4 4 4 255 255 255 255 255 255 255 255 255
(23)    0 0 0 0 0 0 0 0 0 0 0 0 0
(24)    4 4 4 4 4 4 4 4 255
(25)    7 7 7 7 7 7
(26)    0
(27)	2 2 2 2 2 2 2 2 2 2

//set form
(0)	1 1 1 1 1 1 1 255 255 255 255 255 255 255
(1)	1 1
(4)	1	
(5)	255 255 255 1 1
(6)	255 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
	1 1 1
(7)	255 255 1
(8)	1 1 1 1 1
	255 255 255 255 255 255 255 255 
	1 1 1 1 1
(9)	1 1 1 1 1 1 1 1
	//255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
(10)	255 1 255 1 255 1
(11)	255
(12)	6 6 6 6 6
(13)	6 6 6 6
(14)	6 6 6
(15)	1 1 1 1 1 1 1 255 255 1 
	1 1 1 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255
(16)	1 1 1 1 1 1
(17)	6 6 6
(18)	6 6
(19)	1 1 1 1
(21)    2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1
(23)    1 1 1 1 1 1 1 1 1 1 1 1 1
(24)    1 1 1 1 1 1 1 1 1
(25)    1 1 1 1 1 1
(26)    1
(27)	255 255 255 255 255 255 255 255 255 255

//<m> form
(0)	0 0 0 0 0 0 0 255 255 255 255 255 255 0
(1)	0 0
(4)	255	
(5)	255 255 255 0 0
(6)	255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	0 0 0
(7)	255 255 0
(8)	0 0 0 0 0 255 255 255 255 255 255 255 255
	0 0 0 0 0
(9)	0 0 0 0 0 0 0 0
	//255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
(10)	255 0 255 0 255 0
(11)	255
(12)	255 255 255 255 255
(13)	255 255 255 255
(14)	255 255 255
(15)	0 0 0 0 0 0 0 255 255 0 
	0 0 0 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255 255 255
	255 255 255 255 255 255 255 255
(16)	0 0 0 0 0 0
(17)	255 255 255
(18)	255 255
(19)	0 0 0 0
(21)    0 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(23)    0 0 0 0 0 0 0 0 0 0 0 0 0
(24)    255 255 255 255 255 255 255 255 0
(25)    0 0 0 0 0 0
(26)    0
(27)	255 255 255 255 255 255 255 255 255 255
//-------------------------------------------------------------------------------
//general information
1	//information count
(0)	2	3	mjpeg,mpeg4	// group code, parameter code, parameter value

//model specific information
3	//model count

207W	//model name
1	//information count
(0)	2	3	mjpeg,h264

212PTZ
1
(0)	2	3	mjpeg

215PTZ
1
(0)	2	3	mjpeg,mpeg4,h264

//---------------Camera Init Message-----------
0	//count

//
{}{}{}
