資源描述:
《DVR控制協(xié)議.doc》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、DVR控制協(xié)議修正事項(xiàng)1.通信方式Data傳送方式協(xié)議傳送速度:RS485,Start-StopSynchronizedserialinterface:8bitdata,1Stopbit,NoneParity:4800,9600,19200,38400bps9ByteFixed2.DataFormatStartCodeSenderTargetCommand(5)ChecksumAOH(l)Addr(l)Addr(l)(1)DataByte種類內(nèi)容備注Byte1StartCodeAOHDataPacket的開始Byte2SenderAddr發(fā)送address*Samsung
2、WebTx:FEHBvte3TargetAddr收信addressByte4CoinmandDVR:1AHByte5Byte6Bvte7Byte8Byte9CheckSum(Oxffff-(把Byte2Byte8的值加起來(lái)的值))的下位byte.3eDVRP/T/ZCommandByte4Byte5Byte6Byte7Byte8BitO1AH36HFocusFarPanMotorSpeed00H-40HTiltMotorSpeed00H~40H13讓1FocusNearBit2ZoomTeleBit3ZoomWideBit4PanleftBit5Panright師6Til
3、tupTiltdown探關(guān)于冇方向性的Bit的處理(PAN/TILT/ZOOM/FOCUS)PAN(LEFT)TILT(DOWN)ZOOM(WIDE)FOCUS(NEAR)PAN(RIGHT)TILT(UP)ZOOM(TELE)FOCUS(FAR)動(dòng)作00STOP10用“1”表示的動(dòng)作01用“1”表示的動(dòng)作11目前動(dòng)作繼續(xù)4.PCbasedDVRPRESETCommandFunctionByte4Byte5Byte6Byte7Byte8備注PRESETSet1AH37H01HPresetNumberFFHPreset位置制定PRESETGoto02H向Preset位置移動(dòng)
4、PRESETClear03H解除Preset位置5.MouseCommand5.1MouseMoveCommandByte4Ryte5Byte6Byte7Byte8BitO1AH5IHBitlBit2E讓3B讓4MoveLeftHorizontalVerticalBit5MoveRightMouseSpeedOOH~4OHMouseSpeedOOH~4OHB讓6MoveUpB讓7MoveDown5.2MouseButtonCommandByte4Byte5Byte6Byte?ByteSBitO1AH52HLeftDownFFHFFHE讓1LeftUpBit2RightDo
5、wnBit3~~RightUpBit4MiddleDownB讓5MiddleUpBit6Bit?4.DVRCommandFunctionByte4Byte5Byte6Byte7Byte8MENU0X1A0x01SEARCH0x02UP0x04DOWN0x05LEFT0x06RIGHT0x07PLAY/PAUSE0x08STOP0x09RECLOCKOxOARECORDOxOBE.Shuttle1(>)JOGSHUTTLEOxOCF.Shuttle2(x2)(SHUTTLE)OxODF.Shuttle3(X4)OxOEF.Shuttle4(X8)OxOFF.Shuttle5
6、(x16)0x10F.Shuttle6(X32)OxllE.Shuttle7(X64)0x12F.Shuttle8(X128)0x13OXFFOXFFOXFFR.Shuttle1(7、xoHsnorv鞠誓pUELULUOQN01丄QUosnopvZGxoNO±±HHosnoiw琢誓pUBLULUOQHAO1MasnoR[?gigxoHAOIAIosnoizdd^oHHXOHHX009X09IH3曲XOgii-ioai-xoMHOa^xo^IH3MXO3II-IOa^xoIIHOv^xo0IH36^X0iwnovaAvna/6iio/68tX08H0/SMXOZHD/L9^X09113/9濟(jì)xoSHO/9幵xoHID/17£^X0那xoSH3/S1^X01113/IOkXO棉葩羽換oianv/0H,:X()6