On 06/06/2013 15:12, merzberger1 wrote:
> The first few bytes are header,
How many bytes? looks like a length - which the Channel will take are of...
> the message starts with "9480".
Ok
> As per the
> bitmap, fields 7,11,33,48,70 and 100 are present.
>
> The parser get me this (when I feed it only the message, without the
> header):
> MTI : 9480
> Field-7 : 0606091555
> Field-11 : 091555
> Field-33 :
So the length is likely mismatched with your packager, what is your
field 33 defined as?
It might be taking the first byte only (00) and then going out of line.
Check the documentation again for their definition of LLVAR.
> Field-48 : 012345678
> Field-70 : 900
> Field-100 : 140030000000
>
> It's correct up to and including field 11. Field 33 is where it gets wrong,
> because of the misleading length field. I can remove the extra zeroes, but
> the the parser fails on field 48, again due to the wrong length field.
Please check the definition of this field too in the documentation too.
I would suggest you check the specification and rule out that the 'test
driver' is not really "corrupt" - otherwise you might be wasting your
time too.
--
Mark