Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » OER encoding is incorrect(titan's Oer encoding is incorrect)
OER encoding is incorrect [message #1776212] Tue, 14 November 2017 00:51 Go to next message
lv lvzhiguo is currently offline lv lvzhiguoFriend
Messages: 4
Registered: November 2017
Junior Member
I use the latest version of titan eclipse OER encoding, found with other OER encoding different
The coding structure is as follows:
ModuleName DEFINITIONS AUTOMATIC TAGS ::= BEGIN
TESTMsg ::= SEQUENCE{
version INTEGER(1), -- protocol version 1
time Time64, -- UTC timestamp with microsecond
...
}
Time64 ::= INTEGER (0..9223372036854775807)
END
The data is as follows:
{
version :=1,
time :=1508306052623
}
titan encoded using OER:010000015F2E0BE60F
The correct OER encoding is:00010000015F2E0BE60F
Will titan set by this parameter or what? Encode him OER into the correct format?
Re: OER encoding is incorrect [message #1776766 is a reply to message #1776212] Tue, 21 November 2017 12:27 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Lv,

TITAN does not support the encoding of extendable sequence types (notice the ... in the type definition). These types will be encoded as they were not extendable.
This is the cause, that the first octet is missing in the encoded octetstring.
For further limitations of the OER encoding see the Programmers' Technical Reference Guide for the TITAN TTCN-3 Toolset section 4.27.


BTW, you have posted your message in the wrong forum; for Titan-related questions please use

https://www.eclipse.org/forums/index.php/f/297/


Best regards
Elemer



Re: OER encoding is incorrect [message #1777990 is a reply to message #1776766] Thu, 07 December 2017 11:28 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Lv,


OER ellipsis (...) support has been added,


see https://bugs.eclipse.org/bugs/show_bug.cgi?id=527653;

please download the source tagged 6.3.1 from github and build for your platform.

BR
Elemer

Previous Topic:SWT not working
Next Topic:Eclipse-Oxygen installation error
Goto Forum:
  


Current Time: Fri Mar 29 04:36:11 GMT 2024

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

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

Back to the top