Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6588435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:02:52+00:00 2026-05-25T17:02:52+00:00

How do you interpret this phrase? Checksum This is the value to make zero

  • 0

How do you interpret this phrase?

Checksum
This is the value to make zero on the addition of the lower 8 bits from the header to the checksum.

With this protocol description:

Protocol
Consist of header (1 byte) + data length (1 byte) +
command data (13 bytes) + check sum (1 bytes) + connection ID (1
byte).

(I literally copied this protocol description, so I’dont know why there is 1 bytes (in plural). But I can tell you it is only one byte)

Here are some sample TCP packets of this protocol:

HE:DL:------------Command Data -------------:CS:ID
02:0d:be:ef:03:06:00:19:d3:02:00:00:60:00:00:ed:01
02:0d:be:ef:03:06:00:cd:d2:02:00:00:20:00:00:7a:01
02:0d:be:ef:03:06:00:10:f6:02:00:ba:30:00:00:49:01
02:0d:be:ef:03:06:00:c8:d8:02:00:20:30:00:00:49:01
// Requested Packets
02:0d:be:ef:03:06:00:13:d3:01:00:02:30:01:00:21:01
02:0d:be:ef:03:06:00:c2:ff:02:00:90:10:00:00:d8:01

Where

  • HE is the HEader (which is fixed to 0x02)
  • DL is the DataLength (which is always 0x0d, because the packets are all the same length)
  • CS is the CheckSum (which is my question about)
  • ID is the connection ID (seems to be always 01 in my tests)

I can’t figure out how the checksum is computed. I hope I gave enough info.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:02:53+00:00Added an answer on May 25, 2026 at 5:02 pm

    I think there’s just an error in the description. It looks like they are summing all the bytes between the header and the checksum. And the checksum is just a number that clears the lower 8 bits. So, for the first example, the sum of all bytes between the header and the checksum is 0x0313. Or

    0x0313 0000 0011 0001 0011
    0x00ED 0000 0000 1110 1101
    

    When it’s lined up like that, you can clearly see you’ll be zeroing out the lower 8 bits and returning:

    0x0400 0000 0100 0000 0000
    

    You didn’t specify a language, but you could also quickly calculate your own checksum by doing (0 XOR calculatedSum) + 1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you visit this page in Internet explorer, and choose a value from the
Please interpret this code : public static Func<TInput1, TOutput> Curry<TInput1, TOutput>(this Func<TInput1, TOutput> f)
I got this javascript code from off the internet. It's a script that changes
I'm not sure sure how to interpret this, but all the queries I run
Is this static println function in out class from System namespace? namespace System {
I don't know if I have all the information needed to phrase this question
How do I interpret the returned array from build-in method getPixels for a Bitmap?
I'm trying to interpret this crash log below, but I'm not sure if I
I have problem trying to interpret this line: 5761 6920 4D61 6E0D 0A Is
This question has problably been asked before, but it seems like I can't phrase

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.