Note: forwarded message attached.
Check out the all-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
--- Begin Message ---Dear All,i have a question,i defined a asn.1 file like this:=========
MOC_RecordType ::= SEQUENCE {
recordType [PRIVATE 2] IMPLICIT RecordType,
calTransactionType [PRIVATE 3] IMPLICIT CallTransactionType,
servedMobileNumber [PRIVATE 65319] IMPLICIT ServedMobileNumber,
}RecordType ::= INTEGER {
singleType (0),
firstType (1),
intermediateType (2),
lastType (3),
undefined_type (8)
}
CallTransactionType ::= INTEGER {
default ( 0),
moc ( 1),
mtc ( 2),
emergencyCall ( 3)
}ServedMobileNumber ::= SEQUENCE {
servedImsi ServedIMSI,
servedMsisdn [PRIVATE 199] IMPLICIT ServedMSIsdn
}
ServedIMSI ::=[PRIVATE 198] IMPLICIT TBCD-String (SIZE (1..8))
===========when i use this type and encode it the crteated encoded file is like this:
c2 1 0 c3 1 0 ff 83 fe 27 80 df 81 46 8 34 12 1 1 1 3 53 f0 df 81 47 6 89 (etc...)as u see the tag of 1-byte tags is correct ,but for "servedMobileNumber" the encoded is "ff 83 fe 27",
that i do not know why it changed???it should be "ff 27".thanks,Maryam
Sponsored Link
Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service
--- End Message ---
_______________________________________________ Asn1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
