Hi, TTCN experts,
Now I encounter a problem about the octet array definition. Hope you could give me some directions.
I want to define data structures of a network protocol. The protocol is descirbed through SDL and I am going to test it with TTCN. In SDL, I can define a octet array as the following:
syntype indexsort = Integer
constants 0:10
endsyntype;
newtype type_array array (indexsort, OCTET)
endnewtype;
DCL
temp_array type_array;
Then I can operater each component as ' temp_array(1), temp_array(2), ...' and so on. But I cannot find the right methods to define such structure in ASN.1.
It seemed that two methods can be used: OCTET_STRING and SEQUENCE OF. But how to set value of each component and how to operater each component of the temp_array?
If I define all the data structures through SDL Abstract Data Type, is it still possible to test the protocol in TTCN?
Thanks for the help.
Best Regards,
*****************************************************
Zhang Yongqian
University of Science & Technology of China
E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
*****************************************************