Skip to content

Whta is the checksum font of Custom Frame in Data Format #35

Answered by hyOzd
muye998 asked this question in Q&A
Discussion options

You must be logged in to vote

Checksum is the least significant (right most) byte of sum of all bytes in the payload not including start bytes or length bytes.

When sending your samples you should add all bytes that are being sent and send the resulting sum at the end. Checksum at the moment is only 1 byte, so sending only the least significant byte is enough.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@muye998
Comment options

Answer selected by muye998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants