Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Calculte signature of Table Definition


rulasl7584 Apr 16, 2009 08:06 PM

Hi, all

I´m working whit the CR100, but I have a problem to calculate the signature of table definition, because I don´t know what bytes use to calculate it. I have the full string corresponding of the table definition (initial BD, header, message type, transaction ID, message body, signature, last BD).

I have too the function to calculate the signature, the function need a block of bytes, this block is a fragment of the full string of the table definition, the number of bytes and the seed whit initial value equal 0xAAAA.

I check the points 4.8, 4.9 and 4.9.1 the instruction manual “BMP5 Transparent Commands” regarding to understanding table definition and table signature.

My doubt is what bytes I need use to calculate the signature of table definition, can you give me example? , please, where you show me the full string of table definition, the block to use for calculate the signature, and the signature.

I hope somebody can help me.

Raul Angel

* Last updated by: rulasl7584 on 4/16/2009 @ 2:14 PM *


dgf Jun 22, 2009 05:58 PM

Dear Raul,

have you solved that problem by now? I found out by trial and error that the table signature should be calculated over the buffer starting from the first byte of the "TableName" field to the final field list separator (which is always 0).

In the BMP5 transparent command in section 2.3.4.2, this is the outer part of the file data response that is enclosed in { ... }.

Kind regards

Dietrich

Log in or register to post/reply in the forum.