Subject: Modem Descriptor Error in ABNF

From: Richie Wu <[email-masked]>
Date: Tue, 7 Nov 2000 01:41:54 -0800

Hello everybody,

I think there is a mistake in the Modem Descriptor
represented by ABNF
after reference ASN.1 Syntax of Modem Descritpor.

In ABNF syntax, I think the NAME parmValue need to be
replace with
propertyParm, viz. change the following syntax

  modemDescriptor      = ModemToken (( EQUAL
modemType) /
                          (LSBRKT modemType *(COMMA
modemType) RSBRKT))
                          [ LBRKT NAME parmValue
                         *(COMMA  NAME parmValue)
RBRKT ]

to either of the ABNF syntax

(a)   modemDescriptor      = ModemToken (( EQUAL
modemType) /
                          (LSBRKT modemType *(COMMA
modemType) RSBRKT))
                          [ LBRKT pkgdName parmValue
                         *(COMMA pkgdName parmValue)
RBRKT ]

or into the following syntax

(b)   modemDescriptor           = ModemToken (( EQUAL
modemType) /
                                                  (LSBRK modemType *(COMMA modemType) RSBRKT))
                                                  [ LBRKT propertyParm
                                                  *(COMMA propertyParm) RBRKT ]

As my understanding goes the parameter id alone is not
enough while
encoding the modem desc. A combination of package id
and modem parameter
id is required.

The following is ASN.1 and ABNF Modem Descriptor as
per the
draft for your information.

The ASN.1 representation is:

   ModemDescriptor ::= SEQUENCE
   {
        mtl                     SEQUENCE OF ModemType,

        mpl                     SEQUENCE OF
PropertyParm,
        nonStandardData         NonStandardData
OPTIONAL
   }

   PropertyParm ::= SEQUENCE
   {
        name            PkgdName,
        value           SEQUENCE OF OCTET STRING,
        extraInfo       CHOICE
                {
                        relation        Relation,
                        range           BOOLEAN,
                        sublist         BOOLEAN
                } OPTIONAL,
        ...
   }

   PkgdName ::= OCTET STRING(SIZE(4))
   -- represents Package Name (2 octets) plus Property
Name (2 octets)
   -- To wildcard a package use 0xFFFF for first two
octets, choose
   -- is not allowed. To reference native property tag
specified in
   -- Annex C, use 0x0000 as first two octets.
   -- Wildcarding of Package Name is permitted only if
Property Name is
   -- also wildcarded.

The ABNF syntax is:

  modemDescriptor      = ModemToken (( EQUAL
modemType) /
                          (LSBRKT modemType *(COMMA
modemType) RSBRKT))
                          [ LBRKT NAME parmValue
                         *(COMMA NAME parmValue) RBRKT
]

   parmValue            = (EQUAL alternativeValue/
INEQUAL VALUE)

   alternativeValue     = ( VALUE
                          / LSBRKT VALUE *(COMMA
VALUE) RSBRKT
                            ; sublist (i.e. A AND B
AND ...)
                          / LBRKT VALUE *(COMMA VALUE)
RBRKT
                            ; alternatives (i.e. A OR
B OR ...)
                          / LSBRKT VALUE COLON VALUE
RSBRKT )
                            ; range
   INEQUAL              = LWSP (">" / "<" / "#" ) LWSP

   LSBRKT               = LWSP "[" LWSP
   RSBRKT               = LWSP "]" LWSP

Regards,

Richie Wu

=====
Huawei Technologies India Private Limited

Unit 10, 2nd Floor, Innovator Block
International Tech Park, Whitefield Main Road
Bangalore 560 066, India
TEL: 0091-80-841 0061/0753/0755
FAX: 0091-80-841 0063

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/