Wireshark-dev: [Wireshark-dev] creating a NBAP dissector with a different version of the NBAP A

From: "Martin Peylo" <martinmeis@xxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2006 14:03:12 +0100
Hi all,

I don't have much knowledge about ASN.1 and NBAP so please excuse me
if I ask a question where the answer is quite clear to someone who has
;-)

I should be able to produce a packet-nbap.c which fits to a different
(or better any) version of the NBAP stardard. The different versions
of the NBAP standard are not neccessarily 100% (downwards) compatible.

As I understood packet-nbap.c was created by Anders Broman with
asn2wrs, using asn1/nbap/nbap.asn. I have some questions how to create
that nbap.asn file so it can be processed by asn2wrs. I tried to
understand <http://wiki.wireshark.org/Asn2wrs_Handmassaging_the_ASN_file>
but I think there was done much more for NBAP.

- what Version of the NBAP standard was used to create asn/nbap/nbap.asn?
- the not preprocessed nbap.asn is just what can be found in an
TS25.433 document by ETSI? There are 6 parts and they are "just"
concatenated?
- is it possible to express a more or less simple algorithm what to
comment out? If possible I'd like to write a perl script that
automatically preprocesses the ASN file. If that succeeds I'd like to
have it added to asn/nbap/.

Thanks for any help!
Best regards,
Martin