IBM Support

What is the difference between PER.BASIC-ALIGNED and PER.BASIC-UNALIGNED encoding/decoding?

Question & Answer


Question

What is the difference between PER.BASIC-ALIGNED and PER.BASIC-UNALIGNED encoding/decoding?

Answer

BASIC PER:
The Basic PER comes in two variants - the ALIGNED variant and the UNALIGNED variant. In the ALIGNED variant, padding bits are inserted from time to time to restore octet alignment. In the UNALIGNED variant, no padding bits are ever inserted.

Encoding attributes are:

"PER-BASIC-ALIGNED:1997"
"PER-BASIC-UNALIGNED:1997"

Compilation switches in Tau Tester:

PER-BASIC-ALIGNED
-t3rt "-confbool t3asn.MESSAGES.PER.BASIC-ALIGNED true"

PER-BASIC-UNALIGNED
-t3rt "-confbool t3asn.MESSAGES.PER.BASIC-UNALIGNED true"

Note:
TTCN-2(Ignore this if you don't no TTCN-2):
TTCN-2 also only supports the PER Aligned,Unaligned and NoEndPad with the unaligned variant being the default. In Tau Tester there is no default we need to choose Aligned or Unaligned.

TAU/TesterTAUTEST-FAQ-33AnswerProduct versionPartner ContentInternal ContentCategoryReference ID

[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

KB7078

Document Information

Modified date:
16 June 2018

UID

swg21325501