Hi,
 I have a trouble to understand TYPE-IDENTIFIER.  How should I encode and decode this (from T38 - Basic Aligned PER):
IFPPacket::=SEQUENCE
{
       type-of-msg Type-of-msg,
       data-field Data-field OPTIONAL
}

{
primary-ifp-packet TYPE-IDENTIFIER.&Type (IFPPacket)
}

From the network monitor program, I always see 1 octect, which has the same value as number of octet of IFPPacket.  From X.681:

TYPE-IDENTIFIER ::= CLASS

{

&id OBJECT IDENTIFIER UNIQUE,

&Type

}

WITH SYNTAX {&Type IDENTIFIED BY &id}


But I cannot understand where the above octet comming from.
 
Thanks a lot.

Reply via email to