|
|
Re: Using encode function of TTCN_Buffer [message #1712073 is a reply to message #1712068] |
Wed, 21 October 2015 08:32 |
|
HI Johannes , my guess is that you are missing two things:
-you need a with { encode "RAW" }; instruction at the end of the module:
module something {
:
:
}
with { encode "RAW" };
-for every type you want RAW encoded, you need a with { variant "....." };
instruction, which details how the type should be encoded/decoded
if you have no specific instructions (meaning that the defaults will kick in) still you need and empty with { variant "" }
This will indicate to the compiler that it has to generate the codec functions; else, to decrease the size of the generated code, it will not do so.
I hope this helps
Elemer
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03150 seconds