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

  • Home
  • SEARCH
  • 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 6847355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:44:05+00:00 2026-05-27T00:44:05+00:00

I am trying to setup communications between a pair of Xbee radios with micro

  • 0

I am trying to setup communications between a pair of Xbee radios with micro controllers. These radios have their own built in acknowledge and checksum functions but they are too simplistic and I still end up with incorrect messages out the other end anyways.

I want to implement a more robust acknowledgment scheme in which the receiver sends a message containing a hash/checksum of the message and the sender looks up that value in a table of sent messages and clears the matching sent message (if a message has not been cleared for a set period of time, the message is resent until a match is found).

My problem is I’m not familiar with checksums and hashing functions, both of which are similar but designed for different purposes.

Is there a simple algorithm that would work well as both a hashing function (collision avoidance so that we don’t clear the wrong sent message) and a checksum function (highly sensitive to transmission errors) at the same time that could be simply implemented on an 8-bit micro controller (programmed in C).

  • 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-27T00:44:06+00:00Added an answer on May 27, 2026 at 12:44 am

    It sounds like you are looking for CRC. Depending on the length you choose, you should be able to calculate it quickly enough on your microcontroller.

    If I were you, I wouldn’t use the checksum to identify your data packets. I would use an incrementing packet ID for this purpose. This will give you better control and should make it simpler to implement a sliding window protocol.

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

Sidebar

Related Questions

I have been trying to do some basic communications between a BlackBerry and a
I am trying to setup secure socket communication to a server. I have successfully
Trying to setup a simple Thread/Poll table mapping. Here is what I have: Threads
Trying to setup plone2pdf in Plone 4. I have downloaded the Plone2pdf archive, extracted
I am trying to setup two way communication between a daemon and a client
I have setup PostgreSQL on a VPS I own - the software that accesses
Trying to setup a CodeIgniter based project for local development (LAMP stack), and once
Trying to setup some validation on the add to cart button for the dropdown
Trying to setup and get going with the RestKit library for a cocoa project
Im trying to setup my asp.net mvc page like the following image: The header

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.