Dear Mr. Venkat:
To whom have you addressed your request? Since it shows some application
code, it would seem to deal with a particular vendor's product (OSS?), but
this forum is for general ASN.1 questions and not for support with
vendor's products. If my guess is correct, please consider sending your
request to the [EMAIL PROTECTED]
=====================================================================
Conrad Sigona Voice Mail : 1-732-302-9669 x400
OSS Nokalva Fax : 1-614-388-4156
[EMAIL PROTECTED] My direct line : 1-315-845-1773
Hi ,
This is my ASN sequence in MAP_MS_DataTypes module.
V3SendAuthenticationInfoArg ::= SEQUENCE {
imsi [0] IMSI,
numberOfRequestedVectors NumberOfRequestedVectors OPTIONAL,
segmentationProhibited NULL OPTIONAL,
immediateResponsePreferred [1] NULL OPTIONAL,
re-synchronisationInfo Re-synchronisationInfo OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
...}
Below is my application program.
int main ()
{
MAP_MS_DataTypes_Control ctl;
V3SendAuthenticationInfoArg_PDU pdu;
V3SendAuthenticationInfoArg_PDU pduDecoded;
ctl.setEncodingFlags(DEBUGPDU);
ctl.setDecodingFlags(DEBUGPDU);
EncodedBuffer encodedData;
EncodedBuffer tempEncodedData;
V3SendAuthenticationInfoArg saiArg;
saiArg.set_imsi(V3SendAuthenticationInfoArg::imsi("3455"));
saiArg.set_numberOfRequestedVectors(V3SendAuthenticationInfoArg::numberOfRequestedVectors(5));
pdu.set_data(saiArg);
pdu.encode(ctl, encodedData)
//Here i want to transfer the data in encodedData object to tempEncodedData and
try to
//decode the data in tempEncodedData object
//as shown below .Please any one send me the code how to do this
pduDecoded.decode(ctl, tempEncodedData);
V3SendAuthenticationInfoArg sai2 = *pduDecoded.get_data();
pduDecoded.print(ctl);
return 0;
}
Regards,
Venkat
Yahoo! India Matrimony: Find your life partneronline.
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1