Hi,
I had a misunderstanding. Ramaswamy R san corrected it by following mails.
>From now, I forward three mails. Please see them.
Ramaswamy R - CTD, Chennai. wrote:
Dear Shingu,
The effective Type Definition is : OCTET STRING (SIZE(1..9)). I have a
feeling that you understand the notation to be a two dimentional array sort
of thing. Unfortunately this is not the case. The two dimentional construct
that you have described would require the following Type Definition:
"forwardedToNumber SEQUENCE SIZE(1..9) OF OCTET STRING (SIZE (1 .. 20 ))"
in which case the additional T & L of the SEQUENCE OF would be prefixing the
octet stream.
Let me put it more clearly. The two constraints mentioned are combined
mathematically. The intersection of the two is the resultant constraint.
Considering the two constraint as mathematical sets -
{ 1, 2, 3, 4, 5, ....., 20 } intersection { 1, 2, 3, 4 ... , 9 } = { 1, 2,
3, 4 ... , 9 }
This is how we arrive @ the conclusion that the effective Type Definition is
: OCTET STRING (SIZE(1..9)). You have already mentioned the BER encoding for
an OCTET STRING in your example, which is applicable for the above Type
Definition.
I hope you get a clear picture of what the Type Definition means from the
above explanation.
Regards
Ramaswamy R
Member Technical Staff
HCL Technologies Ltd
Chennai - 600026
"Do or do not. There is no try." - Yoda
Disclaimer:
This message and any attachment(s) contained here are information that is
confidential, proprietary to HCL Technologies and its customers. Contents
may be privileged or otherwise protected by law. The information is solely
intended for the individual or the entity it is addressed to. If you are not
the intended recipient of this message, you are not authorized to read,
forward, print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
-----Original Message-----
From: Hideki Shingu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 12:49 PM
To: [EMAIL PROTECTED]
Subject: [ASN1] Re: [ASN.1] 3GPP TS24.080 forwardedToNumber IE
Thank you for your kindly comments.
We don't know why the definers choose such a way of discription, but we
should assume
that "OCTET STRING (SIZE(1..20))" is new Type difinition, shouldn't we?
So now, a new question about that syntax comes up. How is that syntax,
"forwardedToNumber OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 ))",
encoded to by BER? Now I think as follws,
0x04(T) 0x02(L) 0x01 0x02(V)
0x04(T) 0x03(L) 0x03 0x04 0x05(V)
........ (up to 9th column)
where Type value which shows "OCTET STRING" is 0x04. The maximum value of
(V) is 20, and
the maximum value of column is 9.
If the BER encoded pattern is not correct, should new Type value be assigned
to
ConstrainedType? Or, is there a correct encoded pattern for above syntax?
Could you please give me some clues.
Thanks.
Hideki SHINGU ([EMAIL PROTECTED])
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hideki SHINGU ([EMAIL PROTECTED])
Core Technology Development Center
Panasonic Mobile Communications Co.,Ltd.
TEL:+81-45-939-1054 Ext.7-352-2132
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1