www.linksprite.com
}
INT8U GetCrc8(INT8U *ptr, INT32U len)
{
INT8U crc8,data;
crc8=0;
while(len--!=0)
{
data = *ptr++;
crc8=__crc8_tbl[crc8^data];
}
return crc8;
}
4.6. Serial Protocol Modification Notes
Version 1.3 modification from Version 1.0
1
T he largest value of LENGTH field in data format definition of UART serial protocol is
、
modified to 1400;
2
I n data format definition of user serial protocol, a TCP failed sending message is added
、
3
T he definition of the parameter IDX in the start connection command is modified to the index
、
number of network parameter group;
4
I n parameter setting command /parameter inquiry command /parameter inquiry message of
、
user serial protocol, a new PB field is added;
5
M field of Parameter ID in parameter setting command/parameter inquiry command /
、
parameter inquiry message of user serial protocol is redefined.
6
、
I n the initialization completion message of user serial protocol, new fields of TYP, V and
INFO are added.
Version 1.4 modifications from Version 1.3
1
I n data format definition of user serial protocol, TCP connection command/status message
、
are added;
2
I n system parameter setting, a parameter of TcpServerMode is added;
、
Version 1.5 modifications from Version 1.4
1
、
I n network parameter configuration, parameters of subnet mask and subnet gate are added
2
T he length of the wireless privacy key in network parameter is changed from 64 bytes to 54
、
bytes.
3
S tarting in Version 1.53, IDX parameter in the message ofresult is modified to denote the
、
network signal strength.
49 / 50