Home > Back-end >  A serial port protocol check and how to calculate
A serial port protocol check and how to calculate

Time:09-30


The
reference


R, zhang SAN, and 0, 43, 1, TP, 136.00 g/L, 0794
R, li si,, 1, 40, 2, TP, 147.00 g/L, 0765
R, fifty, and 0,6,3, TP, 35.00 g/L, 069 d
TRANSFER FINISH


I calculate the checksum? How old are not ah, he is how to calculate the checksum, seek advice to everyone

CodePudding user response:

ASICC yards are you? Calibration algorithm is defined, you all don't know, how to solve ah
Are you hack people's agreement?

CodePudding user response:

Is someone else to provide the checksum

CodePudding user response:

I press converts a string into hexadecimal, checksum and he is not the same as the checksum ah by the way R, zhang SAN,, 0, 43, 1, 136.00 g/L, TP, 4 0794079 is corresponding to the ASCII

CodePudding user response:

According to the bytes.

CodePudding user response:

Thank you have solve the ASCII value of the bytes are summed up, converted to hexadecimal, even if the checksum, provide examples and the actual machine transmission of data field, looks after the actual machine shall prevail
  • Related