jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43067?usp=email )
Change subject: V1.2: Specify tag values in HandleNotificationEsipa ......................................................................
V1.2: Specify tag values in HandleNotificationEsipa
Add specific tag values to fields in HandleNotificationEsipa.
Reference: SGP.23 Section 6.3.2.4
Related: SYS#8101 Change-Id: I3abeb7295fd43e499105086a49bd62c4f835aeed --- M asn1/SGP32Definitions.asn M src/ipa/libasn/HandleNotificationEsipa.c 2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/67/43067/1
diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn index a39f2e9..27f0191 100644 --- a/asn1/SGP32Definitions.asn +++ b/asn1/SGP32Definitions.asn @@ -980,8 +980,8 @@ -- Section 6.3.2.4 -- ASN1START HandleNotificationEsipa ::= [61] CHOICE { -- Tag 'BF3D' - pendingNotification SGP32-PendingNotification, -- A Notification to be delivered to a Notification Receiver, possibly in compact format - provideEimPackageResult ProvideEimPackageResult + pendingNotification [0] SGP32-PendingNotification, -- A Notification to be delivered to a Notification Receiver, possibly in compact format + provideEimPackageResult [80] ProvideEimPackageResult -- Tag 'BF50' } -- ASN1STOP
diff --git a/src/ipa/libasn/HandleNotificationEsipa.c b/src/ipa/libasn/HandleNotificationEsipa.c index ec44dd7..8f00be9 100644 --- a/src/ipa/libasn/HandleNotificationEsipa.c +++ b/src/ipa/libasn/HandleNotificationEsipa.c @@ -26,7 +26,7 @@ "pendingNotification" }, { ATF_NOFLAGS, 0, offsetof(struct HandleNotificationEsipa, choice.provideEimPackageResult), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), + (ASN_TAG_CLASS_CONTEXT | (80 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_ProvideEimPackageResult, 0, @@ -40,7 +40,7 @@ }; static const asn_TYPE_tag2member_t asn_MAP_HandleNotificationEsipa_tag2el_1[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pendingNotification */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* provideEimPackageResult */ + { (ASN_TAG_CLASS_CONTEXT | (80 << 2)), 1, 0, 0 } /* provideEimPackageResult */ }; asn_CHOICE_specifics_t asn_SPC_HandleNotificationEsipa_specs_1 = { sizeof(struct HandleNotificationEsipa),