Hi Christopher

Would it be possible for you to unveil a bit more about
what kind of protocol you are implementing ?

I have seen pointers used in the ITU SCCP that contains the TCAP
message. The TCAP is specified using ASN.1 with ROSE Operations
so that one is obviously made for an ASN.1 tool.

But the SCCP with pointers employed was a challenge. It made it
possible for the message sending part to have fields of varying
length. The only way to calculate the length of these fields was
to do calculations on the start addresses of the fields - those
values were held by the pointers.

I would think that your pointers can point nowhere except inside
the message where it is placed. Is this correct ? It cannot point
to any piece of code outside because the sender in principle knows
nothing about the memory organisation of the receiver.

Also it cannot point to other messages because that would violate
the principle that the message decoding should be context-free.

This means that the decoding of a particular message should be
independent of the decoding of preceding messages (or even more
"unthinkable" - future messages...)

I have no clue whether these remarks are of any help to you ?

Regards

Steen Oluf Karlsen
Soholtvej 6
Vester Vandet
DK-7700 Thisted 
Danmark
email [EMAIL PROTECTED] 
Tel +45 97 97 72 72

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Christopher S. Flordeliza
Sent: 5. september 2001 06:20
To: [EMAIL PROTECTED]
Subject: [ASN.1] Pointers in ASN


Hi guys,

We are currently developing test suite for our project that used
pointers as signal parameter. The problem is the tool we are using does
not support pointers but it support ASN.1. How can we define a pointer
type using ASN.1? If we can, what are the available operators?

Thanks.

--
************************************
Multitasking: The art of screwing
things at once....

CHRISTOPHER S. FLORDELIZA

Millennium Software, Inc.
Tel. # 638-30-70 loc. 73
mailto:[EMAIL PROTECTED]
***********************************



Reply via email to