library/PCUIF_Types.ttcn: mark PCUIF_Text as 'null_terminated'
This is a TITAN specific attribute that allows to indicate that a field of type 'charstring' is '\0'-terminated. Without that attribute, 'PCUIF_Text' is mixed with the padding characters: "0.7.0.5-df0f" & char(0, 0, 0, 0) & char(0, 0, 0, 0) & ... Change-Id: Ic81fff4c82871bb29a2385b9ee7a2dd98f67dfb0
This commit is contained in:
parent
faa4292444
commit
e1527f75f4
|
@ -70,7 +70,7 @@ type enumerated PCUIF_TextType {
|
|||
PCU_OML_ALERT (1)
|
||||
} with { variant "FIELDLENGTH(8)" };
|
||||
|
||||
type charstring PCUIF_Text length(128) with { variant "FIELDLENGTH(128)" };
|
||||
type charstring PCUIF_Text length(128) with { variant "FIELDLENGTH(null_terminated)" };
|
||||
|
||||
type record PCUIF_txt_ind {
|
||||
PCUIF_TextType txt_type,
|
||||
|
|
Loading…
Reference in New Issue