Accessing to Unkown Extension field
Go to github.com/vlm/asn1c for the latest version.
Brought to you by:
vlm
I would like to know when decoding a ASN packet which includes an unknown extension how I can access to that part of the data.
I am attaching the ASN for J2735. and here is a raw payload (encoded ASN packet):
30818080010281260a0000003664c8162a82e7d01472e7196affffffff20000000000000000032000009503701e0a208a206800100810100a314800100a20c8001018101008201018301008e01009f81023100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Based on the rules, an extension can be added. in this example is:
9F81023100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
How can I access it using the ASN compiler functions?
The encoded packet is a Basic Safety Message