Jump to content
Sign in to follow this  
roby

help please...

Recommended Posts

roby

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

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.