ntrip协议及应用实例
篇一:corus协议说明
CORUS RS232通信协议
串口设置:
波特率9600,数据位8,停止位1,无效验
发送:十二个0
延时,
收到应答 00 00 00
发送: XXXXXX
延时,
收到应答XXXXXXXXXXXXXXXXXXXXXXXXXXX
发送:xxxxxxxxxxx
串口设置:
波特率9600,数据位8,停止位1,无效验
延时,
收到应答: xxxxxxxxxxxxxxxxxxxxxxxxxx
发送: xxxxxxxxxxxxxxxxxxxxxxxxxxx
延时,
收到应答:XX
发送:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
延时,
收到数据:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxx
发送:XXXXXXXXXXXXXXXXXXXXXXXXXXXx
结束。
发送数据帧说明:
帧格式: 01 +BF+LEN+ID1+…+IDn+03+CRC1+CRC2
例: 01 BF 16 0F 94 95 96 97 9F 9E A2 A0 98 99 72 6B 6A 88 8xxxxxxxxxxxxxxxxxxxxx xx 说明:
16为长度LEN,换算为十进制为22,从0F到26刚好有22个字节
XX是MCF, conversion formula(