Start Italiana ATG CRC Calculation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Start Italiana ATG CRC Calculation

'Neal Singh
Administrator
Hi Juan,
I had a problem with the CRC and this is the response I got from the Agents and it help me solve the problem;

I suggest to implement both replies: number 1 and number 2. Format frame is on the byte nr 6 (= or N). 

 

Checksum calculation is the sum of the ASCII chars and not the number as you write. 

For example 0 is 30hex ascii. 

Every number or simble (such as = and . and N) has ASCII code. You have to sum those ASCII codes up to the last = included. 

 

Then you divide by 255 and you take the reminder. The reminder is the CHK.  This is the MOD operation.