Pages: [1]   Go Down
Author Topic: using checksum for data integrity  (Read 450 times)
0 Members and 1 Guest are viewing this topic.
Virginia, USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 93
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have some data that I am sending over a GPRS connection to a server. Data integrity is very important so I am looking to find out what people are typically using as a checksum in Arduino? I found an MD5 library but even the basic example sketch is 14KB. I am using an UNO so that is just to large for me to use. Any suggestions on how to verify data integrity is appreciated.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24449
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CRC is probably a lot smaller.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Topsham, Vermont USA
Online Online
Edison Member
*
Karma: 24
Posts: 1766
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How's this CRC solution?? http://excamera.com/sphinx/article-crc.html
Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Offline Offline
Edison Member
*
Karma: 18
Posts: 1172
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you need error correction, or will you re-send?

http://en.wikipedia.org/wiki/Error-correcting_code
Logged

Pages: [1]   Go Up
Jump to: