Resolve the reference definition in the cygwin of Titan 6.1.0 [message #1765525] |
Mon, 12 June 2017 03:28 |
JC Yang Messages: 8 Registered: June 2017 |
Junior Member |
|
|
Hello
I am new in the Titan and TTCN3.
I tried to import 3GPP TTCN suite in to Titan.
I got many reference check errors.
From the project view, the original file should exist, but the Titan editing cannot resolve the reference.
For example, there is one error as below:
"There is no local or imported definition with name `UT_PTC_MTC_PORT'", but the UT_PTC_MTC_PORT' really has the definition in the other file.
How do I solve the problems?
thanks
James
|
|
|
|
Re: Resolve the reference definition in the cygwin of Titan 6.1.0 [message #1765563 is a reply to message #1765556] |
Mon, 12 June 2017 13:29 |
|
Hi James,
please be aware that the test ports, codecs and external functions are not standardized and are tool dependent.
What's more , they are not contained in 3GPP code one can download, exactly to keep that vendor agnostic.
So when trying to process 3GPP ore ETSI suites with Titan, one will have to add port, codec and external function implementations.
Maybe port declarations are imported, but that is not sufficient; you will need actual code that implements the port functionality.
This has been discussed several times on this forum, please feel free to peruse older posts.
Best regards
Elemer
|
|
|
|
|
Re: Resolve the reference definition in the cygwin of Titan 6.1.0 [message #1766627 is a reply to message #1766622] |
Fri, 23 June 2017 15:33 |
|
Hi James,
I'm not sure why this question is related to 6.2.0;
this code did not compile with any previous Titan version.
The answer to your second question is simple:
in NBIOT_MAC_Common.ttcn
change
v_RlcAmPdu := v_RlcAmPdu & p_RlcSduList[i];
to:
v_RlcAmPdu := valueof(v_RlcAmPdu) & valueof(p_RlcSduList[i]);
However, your first question is a lot more difficult to solve;
you are missing all codecs that are needed in your project. Codecs are not considered to be part of the test suite, they are implementation dependent so you will have to add them yourself.
Please read this post:
https://www.eclipse.org/forums/index.php/t/1086125/
(and the referred posts)
which explains how these codecs could be added.
Essentially you will have to produce PER codecs for your types; if you are in luck , this can be done with asn1c, an open source ASN.1 compiler which can produce PER codecs for a number of types (not all of them);
if asn1c will not deal with your project, you will have to purchase a commercial codec.
Best regards
Elemer
|
|
|
Powered by
FUDForum. Page generated in 0.02841 seconds