sabp: Add Procedure Codes and IEI constants to CommonDataTypes

... this is what's required for asn1c to generate nice C language
enums for it.  Conversion was performed semi-automatically by use
of asn1enum.pl

Change-Id: I0cd78a102ec6e31c696efc2cc6a4f08a0ba6d89e
changes/93/15593/1
Harald Welte 3 years ago
parent f7f85ef092
commit 7095c7ed0c
  1. 37
      asn1/sabp/SABP-CommonDataTypes.asn
  2. 67
      asn1/sabp/SABP-Constants.asn

@ -9,8 +9,41 @@ DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
Criticality ::= ENUMERATED { reject, ignore, notify }
Presence ::= ENUMERATED { optional, conditional, mandatory }
ProcedureCode ::= INTEGER (0..255)
ProcedureCode ::= INTEGER {
id-Write-Replace(0),
id-Kill(1),
id-Load-Status-Enquiry(2),
id-Message-Status-Query(3),
id-Restart-Indication(4),
id-Reset(5),
id-Failure-Indication(6),
id-Error-Indication(7)
} (0..255)
ProtocolExtensionID ::= INTEGER (0..65535)
ProtocolIE-ID ::= INTEGER (0..65535)
ProtocolIE-ID ::= INTEGER {
id-Broadcast-Message-Content(0),
id-Category(1),
id-Cause(2),
id-Data-Coding-Scheme(4),
id-Failure-List(5),
id-Message-Identifier(6),
id-New-Serial-Number(7),
id-Number-of-Broadcasts-Completed-List(8),
id-Number-of-Broadcasts-Requested(9),
id-Old-Serial-Number(10),
id-Radio-Resource-Loading-List(11),
id-Recovery-Indication(12),
id-Repetition-Period(13),
id-Serial-Number(14),
id-Service-Areas-List(15),
id-MessageStructure(16),
id-TypeOfError(17),
id-Paging-ETWS-Indicator(18),
id-Warning-Type(19),
id-WarningSecurityInfo(20),
id-Broadcast-Message-Content-Validity-Indicator(21)
} (0..65535)
TriggeringMessage ::= ENUMERATED {initiating-message, successful-outcome, unsuccessful-outcome, outcome}
END

@ -8,46 +8,53 @@ itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-Constants (4) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
ProcedureCode,
ProtocolIE-ID
FROM SABP-CommonDataTypes;
-- **************************************************************
--
-- Elementary Procedures
--
-- **************************************************************
id-Write-Replace INTEGER ::= 0
id-Kill INTEGER ::= 1
id-Load-Status-Enquiry INTEGER ::= 2
id-Message-Status-Query INTEGER ::= 3
id-Restart-Indication INTEGER ::= 4
id-Reset INTEGER ::= 5
id-Failure-Indication INTEGER ::= 6
id-Error-Indication INTEGER ::= 7
id-Write-Replace ProcedureCode ::= 0
id-Kill ProcedureCode ::= 1
id-Load-Status-Enquiry ProcedureCode ::= 2
id-Message-Status-Query ProcedureCode ::= 3
id-Restart-Indication ProcedureCode ::= 4
id-Reset ProcedureCode ::= 5
id-Failure-Indication ProcedureCode ::= 6
id-Error-Indication ProcedureCode ::= 7
-- **************************************************************
--
-- IEs
--
-- **************************************************************
id-Broadcast-Message-Content INTEGER ::= 0
id-Category INTEGER ::= 1
id-Cause INTEGER ::= 2
id-Criticality-Diagnostics INTEGER ::=3
id-Data-Coding-Scheme INTEGER ::= 4
id-Failure-List INTEGER ::= 5
id-Message-Identifier INTEGER ::= 6
id-New-Serial-Number INTEGER ::= 7
id-Number-of-Broadcasts-Completed-List INTEGER ::= 8
id-Number-of-Broadcasts-Requested INTEGER ::= 9
id-Old-Serial-Number INTEGER ::= 10
id-Radio-Resource-Loading-List INTEGER ::= 11
id-Recovery-Indication INTEGER ::= 12
id-Repetition-Period INTEGER ::= 13
id-Serial-Number INTEGER ::= 14
id-Service-Areas-List INTEGER ::= 15
id-MessageStructure INTEGER ::= 16
id-TypeOfError INTEGER ::= 17
id-Paging-ETWS-Indicator INTEGER ::= 18
id-Warning-Type INTEGER ::= 19
id-WarningSecurityInfo INTEGER ::= 20
id-Broadcast-Message-Content-Validity-Indicator INTEGER ::= 21
id-Broadcast-Message-Content ProtocolIE-ID ::= 0
id-Category ProtocolIE-ID ::= 1
id-Cause ProtocolIE-ID ::= 2
id-Criticality-Diagnostics ProtocolIE-ID ::=3
id-Data-Coding-Scheme ProtocolIE-ID ::= 4
id-Failure-List ProtocolIE-ID ::= 5
id-Message-Identifier ProtocolIE-ID ::= 6
id-New-Serial-Number ProtocolIE-ID ::= 7
id-Number-of-Broadcasts-Completed-List ProtocolIE-ID ::= 8
id-Number-of-Broadcasts-Requested ProtocolIE-ID ::= 9
id-Old-Serial-Number ProtocolIE-ID ::= 10
id-Radio-Resource-Loading-List ProtocolIE-ID ::= 11
id-Recovery-Indication ProtocolIE-ID ::= 12
id-Repetition-Period ProtocolIE-ID ::= 13
id-Serial-Number ProtocolIE-ID ::= 14
id-Service-Areas-List ProtocolIE-ID ::= 15
id-MessageStructure ProtocolIE-ID ::= 16
id-TypeOfError ProtocolIE-ID ::= 17
id-Paging-ETWS-Indicator ProtocolIE-ID ::= 18
id-Warning-Type ProtocolIE-ID ::= 19
id-WarningSecurityInfo ProtocolIE-ID ::= 20
id-Broadcast-Message-Content-Validity-Indicator ProtocolIE-ID ::= 21
-- **************************************************************
--
-- Extension constants

Loading…
Cancel
Save