|
John,
Would it be possible for you to send us the test driver that you are using or to isolate the code you are having problems with and put that in a test driver which repeats the problem and then send that to us?
Thanks, Tom
From:
owner-imc-snacc@xxxxxxxxxxxx [mailto:owner-imc-snacc@xxxxxxxxxxxx] On Behalf Of John Hodgkinson
Hello,
I have taken a blob of ASN1 and decoded it using the BDec method of the eSNACC generated code and then used the BEnc to re-encode it and this has lost the initial header information from the original blob.
Thus 0xA0, 0x82, 0x0F, 0xCE, 0x31, 0x82, 0x01, 0x77 is missing from the start
Where 0FCE is the length of the encoded data (AsnBuf.length minus the 4 byte message header length (0x31 0x82 0x01 0x77)) The length of the header can be obtained by encoding the message header separately. Is it possible to obtain the original header information from the decoded data?
Thanks John |