Open samrajput1143 opened 1 year ago
below is the asn definition
Would you mind posting the complete ASN.1 file here? I'll need it to recompile on my machine.
Also, is your file encoded in APER (Aligned) or UPER (Basic, Unaligned)?
@mouse07410 https://github.com/mouse07410/asn1c/issues/107
Would you mind posting the complete ASN.1 file here? I'll need it to recompile on my machine.
Also, is your file encoded in asn_def.zip APER (Aligned) or UPER (Basic, Unaligned)?
@mouse07410 i have attached the asn definition file
Would you mind posting the complete ASN.1 file here? I'll need it to recompile on my machine.
Also, is your file encoded in APER (Aligned) or UPER (Basic, Unaligned)?
The message is encoded using APER
Corresponding APER encoding (HEX value is given below)
Since you posted your issue in the vlm repo and here - could you clarify which of the asn1c
did you use? Did asn1c
built from this repo sources fail to decode that APER? Or only the vlm asn1c
?
I am using this mouse /asn1c repo only
There is problem in this repo for dcoding the octet string filed with APER.
My original message is encoded with APER only.
@mouse07410 any information regarding this issue.
@samrajput1143 sorry, no information and no update.
https://stackoverflow.com/questions/73508115/decode-hex-value-using-asn1-aligned-per-decoder-in-c
Issue While decoding OCTET string with PER . ASN.1 Compiler, v0.9.29
my output![image](https://user-images.githubusercontent.com/75875312/187020396-5beb535b-edd0-4694-bbc1-b01026319479.png)
expected output![image](https://user-images.githubusercontent.com/75875312/187020411-ad6bbf5b-8ad8-4866-a69f-689c09098a0e.png)