"Subhodeep Sarkar"<[EMAIL PROTECTED]> wrote:

Hi ,

I am new to this ASN.1. I am trying to understand what exactly the below syntax means. The following are the ASN.1 files :

===========================================

TCAPMessages.asn1

TCAPMessages DEFINITIONS

IMPLICIT TAGS ::=

BEGIN

EXPORTS ERROR;

-- ERRORS
-- Errors are specified with the ERROR MACRO.
-- When an error is specified, the valid parameters for that error are indicated.
-- Default values and optional parameters are permitted.

ERROR MACRO ::=

BEGIN
   TYPE NOTATION           ::= Parameter
   VALUE NOTATION          ::= value (VALUE CHOICE {
                                      localValue INTEGER,
   -                                  globalValue OBJECT IDENTIFIER } )
   Parameter               ::= "PARAMETER" NamedType | empty
   NamedType               ::= identifier ! ty! pe | type
END

END

Test.asn1

TEST DEFINITIONS ::=
BEGIN

IMPORTS
   ERROR
FROM TCAPMessages;

SystemFailure ::= ERROR
   PARAMETER
     systemFailureParam   INTEGER
      -- optional

systemFailureParamVal SystemFailure ::= localValue  2
END

=========================================================

I am not able to understand the syntax of "systemFailureParamVal" ?

Any help will be highly appreciated. I doesn't belong to this group , so please send the mail directly to my mailing address.

Thanks in advance.

Cheers,

Subhodeep


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Reply via email to