|
You might want to have a look at this white paper:
It contains an example from 3GPP (RANAP instead of
NBAP, but the concept is similar) and goes through the breakdown of resolving
the intermediate layers to get to the final message type.
Hope it helps..
Ed Day
Objective Systems, Inc.
----- Original Message -----
Sent: Wednesday, January 11, 2006 7:50
AM
Subject: [ASN1] ASN1 to modify
Hi at all, I'm a Student of Telecomunications Engineer, I'm
working on a project about 3GPP. I need to use some protocol, like NBAP, in
ASN1. I have copied the ASN code from the specification doc. My professor
want to use a free compiler, asn1c by Lev Walkin, but I have some problem
because I have to change the code, because the compiler do only basic
operation.
My problem is in this part of the spec:
=======
NBAP_Containers.asn
NBAP-PROTOCOL-EXTENSION ::= CLASS {
&id
ProtocolIE-ID UNIQUE,
&criticality Criticality,
&Extension,
&presence Presence }
WITH SYNTAX {
ID &id
CRITICALITY &criticality
EXTENSION &Extension
PRESENCE &presence }
ProtocolExtensionContainer {NBAP-PROTOCOL-EXTENSION :
ExtensionSetParam} ::= SEQUENCE (SIZE
(1..maxProtocolExtensions)) OF ProtocolExtensionField
{{ExtensionSetParam}}
ProtocolExtensionField {NBAP-PROTOCOL-EXTENSION
: ExtensionSetParam} ::= SEQUENCE {
id
NBAP-PROTOCOL-EXTENSION.&id ({ExtensionSetParam}),
criticality
NBAP-PROTOCOL-EXTENSION.&criticality
([EMAIL PROTECTED]), extensionValue
NBAP-PROTOCOL-EXTENSION.&Extension
([EMAIL PROTECTED]) }
======= NBAP_IEs.asn
Active-Pattern-Sequence-Information ::= SEQUENCE {
cMConfigurationChangeCFN
CFN,
transmission-Gap-Pattern-Sequence-Status
Transmission-Gap-Pattern-Sequence-Status-List OPTIONAL,
iE-Extensions
ProtocolExtensionContainer ({Active-Pattern-Sequence-Information-ExtIEs})
OPTIONAL, ... }
Active-Pattern-Sequence-Information-ExtIEs NBAP-PROTOCOL-EXTENSION ::=
{ ... }
The problem seem to be the
parameterization. I need to change the code but I don't know how to change
without eliminate some functionality of the original code.
There is
anyone that have worked with this protocol that can help me?
Thank You
Alessandro Lago
_______________________________________________ ASN1 mailing
list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
|
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1