roby Posted October 15, 2007 Share Posted October 15, 2007 hello, I am studing a serial comunication and I have this : 00010002 e5 63 02 00 ba 0f In Decimal: 001 048 048 048 049 048 048 048 050 002 101 053 054 051 048 050 048 048 098 097 048 102 004 First byte is SOH , last EOT and that in middle is STX... Well, anyone know how to determinate last two byte (ba 0f). they are a checksum, but I don't Know what type of it... It's possible calculate it with a Autoit script? Thank roby Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 15, 2007 Share Posted October 15, 2007 hello, I am studing a serial comunication and I have this : 00010002 e5 63 02 00 ba 0f In Decimal: 001 048 048 048 049 048 048 048 050 002 101 053 054 051 048 050 048 048 098 097 048 102 004 First byte is SOH , last EOT and that in middle is STX... Well, anyone know how to determinate last two byte (ba 0f). they are a checksum, but I don't Know what type of it... It's possible calculate it with a Autoit script? Thank roby Why the double post? You still haven't said where the data came from, which might indicate which kind of CRC was used. Your description makes sense: SOH 00010002 STX e5630200 [CRC = 0xBA0F] EOT If you can't get info from the source, try the most common methods to find a match. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now