Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Problem with duplicate incoming message type boolean
Problem with duplicate incoming message type boolean [message #1792071] Tue, 10 July 2018 19:01 Go to next message
Vicente Leal is currently offline Vicente LealFriend
Messages: 8
Registered: July 2018
Junior Member
Hi everybody,

I am new with Eclipse Titan and I am trying to implement a V2X test suite from ETSI, but I have a problem that I cannot resolve.

My problem is in a file from ITS library, in particular is in the file called LibItsGeoNetworking_TestSystem.ttcn.
At line 52 I have the following problem:
"Duplicate incoming message type boolean "

The variables with this problem are in bold:

type port UpperTesterPort message {
out
UtInitialize, UtChangePosition, UtGnTrigger;
in
UtInitializeResult, UtChangePositionResult, UtGnTriggerResult, UtGnEventInd;
} // end UpperTesterPort

I attach the file.
Can somebody help me? I don't know how to solve it.

Thanks,
Vicente Leal
Re: Problem with duplicate incoming message type boolean [message #1792146 is a reply to message #1792071] Thu, 12 July 2018 07:37 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 854
Registered: January 2015
Senior Member
Hola Vicente,

welcome to Titan.

Here's the short answer: on this (internal and invisible, yet existing) interface between the logical test port and physical test port Titan cannot distinguish between two incoming messages that have the same type.

Both UtChangePositionResult and UtGnTriggerResult are declared as boolean:


in LibItsGeoNetworking_TypesAndValues.ttcn:

 type boolean UtGnTriggerResult;
 
 
 in LibItsCommon_TypesAndValues.ttcn:          
 
 type boolean UtChangePositionResult;


The reason goes back to a slightly different architecture of Titan as compared to the standard: in the standard ETSI architecture the test adapter , which is equivalent to the Titan test port , will differentiate
between the two types and will already send them on this internal interface as two different types. ( This I guess can also be done in the Titan test port with a small modification)

However a simple trick will help: the indistinguishable booleans will have to be transformed in simple structured types that can be differentiated:

 type record UtGnTriggerResult {
			boolean utGnTriggerResult
		}

type record UtChangePositionResult {
			boolean utChangePositionResult
		} 




Now , here's the long answer:

Migrating an ETSI suite to Titan can be a long and complex exercise:
Here's some posts I'd recommend you to read before you decide to go for it:


About compiling 3GPP and ETSI test suites
https://www.eclipse.org/forums/index.php/t/1087046/

Eclipse Titan and the dilemma of PER-encoding(ASN.1 PER-codec for Titan )
https://www.eclipse.org/forums/index.php/t/1070344/

Executing ETSI Diameter Rx test cases
https://www.eclipse.org/forums/index.php/t/1074256/


Porting 3gpp test suites to Titan
https://www.eclipse.org/forums/index.php/t/1093289/


There's a piece of good news though:
Here:

elnrnag/ITSG5_TS_Titanized_TA

https://github.com/elnrnag/ITSG5_TS_Titanized_TA



you can find a complete and functional (tested against a Cohda blue box) ITS G5 suite that, although is an older version of the ETSI suite, should answer all your questions as it has been adapted for Titan.

It has an external PER codec based on asn1c ( unfortunately later versions of ITS are not supported by asn1c) and we have fitted it with a thin layer to connect to the JAVA test adapter written by ETSI (so it contains a C++ - JAVA boundary). As far as I know ETSI might be working on set of C++ Titan ports, but I have no solid info.


Please do contact us if you run into any problem; we will try to help.

Best regards
Elemer





Re: Problem with duplicate incoming message type boolean [message #1792156 is a reply to message #1792146] Thu, 12 July 2018 08:32 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello,

In addition, you can also take a look to the ETSI STF 525 staff on https://portal.etsi.org/stf.aspx?tbid=595&SubTB=595 and http://oldforge.etsi.org/websvn/listing.php?repname=ITS.ITS&path=%2Fbranches%2FSTF525%2F&#a36901563a51d1f9a55a06daf758a66d1.

Hope it can help you,

Yann
Re: Problem with duplicate incoming message type boolean [message #1792379 is a reply to message #1792156] Mon, 16 July 2018 16:19 Go to previous message
Vicente Leal is currently offline Vicente LealFriend
Messages: 8
Registered: July 2018
Junior Member
Thank you very much,

Vicente Leal
Previous Topic:Issues with xsd2ttcn
Next Topic:Test Performance in TITAN using Timestamps
Goto Forum:
  


Current Time: Mon Nov 19 15:13:57 GMT 2018

Powered by FUDForum. Page generated in 0.02352 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top