1. 请求(平台 to 设备)

​需要发送三次udp报文​

<?xml version="1.0" encoding="GB2312" ?>
<PPVSPMessage>
<Version>2.5</Version>
<Sequence>6256</Sequence>
<CommandType>REQUEST</CommandType>
<Method>CONTROL</Method>
<Command>PTZCONTROL</Command>
<Params>
//设备的通道ID
<Channel>2</Channel>
//LEFT RIHGT UP DOWN
<PTZCmd>LEFT</PTZCmd>
//Start Stop
<Action>Start</Action>
//1-7
<Speed>4</Speed>
</Params>
</PPVSPMessage>
2. 回复(设备 to 平台)

​设备就回复平台一次​

<?xml version="1.0" encoding="GB2312"?>
<PPVSPMessage>
<Version>2.0</Version>
<Sequence>6256</Sequence>
<CommandType>RESPONSE</CommandType>
<WhichCommand>PTZCONTROL</WhichCommand>
//成功这里返回 200
<Status>401</Status>
<Description>System Oper Faild.</Description>
<Params/>
</PPVSPMessage>