Ethereal-users: [Ethereal-users] ASN.1

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Arnaldo Maciel Bellato" <Arnaldo.Bellato@xxxxxxxxxxx>
Date: Thu, 15 Dec 2005 19:30:01 -0200
Hi,
 
I have a description in ASN.1 like below.
But I have problem when I try decode it in c#.
The decode give me the forward error.
 

"E:\Arnaldo\TIM\BACKUP\ASCInSms_Teste.asn1", line 9 (ASCInSms): A0120E: Parsing error: expecting ')' or '!' but found typereference.

isnSM IA5String (SIZE(1..10) CODE("LEFT")) OPTIONAL,

Somebody wherever found this notation in ASN.1 and can help me?

What mean this notation and is it right?

Thanks

 
ASCInSms DEFINITIONS ::=
BEGIN
CDR ::= SEQUENCE
{
 isnSM IA5String (SIZE(1..10) CODE("LEFT")) OPTIONAL,
 textLen IA5String (SIZE(1..5) CODE("LEFT")) OPTIONAL,
 targetId IA5String (SIZE(1..40) CODE("LEFT")) OPTIONAL,
 originalTarget IA5String (SIZE(1..40) CODE("LEFT")) OPTIONAL
}
END