欢迎来到天天文库
浏览记录
ID:50638416
大小:75.50 KB
页数:3页
时间:2020-03-13
《科瑞维护通道协议.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、协议说明协议的一般格式报文头(0x68)报文长度命令数据校验报文头(0x7E)lbyte2byte1Byte变长lbyte(和)lbyte报文长度=命令+数据校验二命令+数据的和校验命令1I:DTU数据22:采集设备维护3FF:错误DTU数据子命令数据1Byte变长1.读取参数和冋应2.设置参数和冋应3.重启设备和冋应4.心跳发送和心跳
2、叫应主动上报ID1分钟上传5.停止主站传输和回应6.恢复主站传输和冋应7.状态查询维护/传输目前没有专网卡的时候dtu维护通道为的协议为udpserver或udp客八端读取参数和回应6800010101027E68()0CA0101CC00
3、002580000000()065908CAODE808E8EDE808E8E3A983A9A0101000000000()(X)00000000()00000000000000000()001001401F40()28434D4E45540()00000000000000000000000000000000000000000000000000000000000000000000233737370000000000000000000000636172640000000000000000000000000000000000000000000000000000000000000
4、00000000000636172640000000000000000000000()000000()(X)00000000()000000000000000000000000000000001000600384E3100010001OBAO7E设置参数和冋丿26800CA0102CB000025800000000065908CAODE808E8EDE808E8E3A983A9A010100()0000000(X)()000000000000()00()0000000000001001401F40028434D4E455400000000()0000()(X)00000()
5、00()0000000()0000()0000()00000()000000()00()00()0000()000233737370000000000000000000000636172640000000000000000000000000000000000000000000000000000000000000000000000006361726400000000000000000000000000000000000000000000000000000000000000000000000001000600384E3100010001OBAO7E6800010102037E6
6、800CA0102CC00002580OA80FCC865908CAODE808B34DE808B343A983A9A0200313333383131383131313100000000000000000001001401F40028434D4E45540000000()000000(X)00000000()0000()000000000000000()000000000000()00000()0()0002A39392A2A2A31230000000()0()()000667265650000(X)0000(X)00000000()0()00000(X)0000()000
7、0000000000000()()000000()00000()0000006672656500000000()000()0()0000()000000000000000000000000000000000000000000000000000001000600384E3100010001OB187E木地IP要设置为()重启设备和冋应6800010103047E6800010103047E心跳发送和心跳冋应主动上报ID6800010104057E6800010104057E68000C01043133333831313831313131327E停止主站传输和冋应6800010
8、105067E6800010105067E恢复主站传输和冋应6800010106077E68()0010105067E状态查询维护/传输680002010701097E6800010107087E错误680000FPFF7EMAX_TCPC_NUM2structpara_ncom{u8_tstate;u32_tbaud;u32_tlipaddr;u!6_tlport[MAX_TCPC_NUM];u32_tripaddr[MAX_TCPC_NUM];u16_trport[MAX_TCPC_NUM];u8_tpt[MA
此文档下载收益归作者所有