Closed koulombus closed 6 years ago
When I decode my data I get all key and values correct but without CHOICE and SEQUENCE.
On versions 1.7.0 I get following decoded String
{ "asn": "CHOICE{ggsnPDPRecord: SEQUENCE{recordType: 0, servedIMSI: 22084139082042F1, ggsnAddress: CHOICE{iPBinaryAddress: CHOICE{iPBinV4Address: C0A8AC7D}}, chargingID: 1931767518, sgsnAddress: SEQUENCE OF{CHOICE{iPBinaryAddress: CHOICE{iPBinV4Address: D94F8201}}}, accessPointNameNI: gprs.swisscom.ch, pdpType: 0120, listOfTrafficVolumes: .................
Now on versions 1.9.0 I get following decoded String;
{ "asn": "ggsnPDPRecord: {\n\t\trecordType: 0,\n\t\tservedImsi: 22084139082042F1,\n\t\tggsnAddress: iPBinaryAddress: iPBinV4Address: C0A8AC7D,\n\t\tchargingId: 1931767518,\n\t\tsgsnAddress: {\n\t\t\tiPBinaryAddress: iPBinV4Address: D94F8201\n\t\t},\n\t\taccessPointNameNi: gprs.swisscom.ch,\n\t\tpdpType: 0120,\n\t\tlistOfTrafficVolumes: {\n\t\t\t{\n\t\t\t\tqosRequested: gsmQosInformation:..............
CHOICE and SEQUENCE are missing. Is there an additional step to have the proper decode?
THX for help
when printing an ASN.1 value structure it is not common to print "CHOICE" or "SEQUENCE" therefore this was corrected in version 1.9.0.
When I decode my data I get all key and values correct but without CHOICE and SEQUENCE.
On versions 1.7.0 I get following decoded String
{ "asn": "CHOICE{ggsnPDPRecord: SEQUENCE{recordType: 0, servedIMSI: 22084139082042F1, ggsnAddress: CHOICE{iPBinaryAddress: CHOICE{iPBinV4Address: C0A8AC7D}}, chargingID: 1931767518, sgsnAddress: SEQUENCE OF{CHOICE{iPBinaryAddress: CHOICE{iPBinV4Address: D94F8201}}}, accessPointNameNI: gprs.swisscom.ch, pdpType: 0120, listOfTrafficVolumes: .................
Now on versions 1.9.0 I get following decoded String;
{ "asn": "ggsnPDPRecord: {\n\t\trecordType: 0,\n\t\tservedImsi: 22084139082042F1,\n\t\tggsnAddress: iPBinaryAddress: iPBinV4Address: C0A8AC7D,\n\t\tchargingId: 1931767518,\n\t\tsgsnAddress: {\n\t\t\tiPBinaryAddress: iPBinV4Address: D94F8201\n\t\t},\n\t\taccessPointNameNi: gprs.swisscom.ch,\n\t\tpdpType: 0120,\n\t\tlistOfTrafficVolumes: {\n\t\t\t{\n\t\t\t\tqosRequested: gsmQosInformation:..............
CHOICE and SEQUENCE are missing. Is there an additional step to have the proper decode?
THX for help