dexter has uploaded this change for review.

View Change

SGP32Definitions_Templates: improve ts_initiateAuthenticationRequestEsipa

The template ts_initiateAuthenticationRequestEsipa has a field for smdpAddress and
euiccInfo1. Those fields are optional fields, but they still play a central role in
the protocol, so that they are effectively mandatory. Let's make the fields available
to the template user and populate them with meaningful default values.

Related: SYS#6824
Change-Id: I97aa039810ad9fffea4226254fa675fd24647de1
---
M library/euicc/SGP32Definitions_Templates.ttcn
1 file changed, 20 insertions(+), 3 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/47/36647/1
diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn
index c178a9c..86c2055 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -77,11 +77,13 @@
}
}
template (value) EsipaMessageFromIpaToEim
-ts_initiateAuthenticationRequestEsipa(template (value) octetstring euiccChallenge := '00112233445566778899aabbccddeeff'O) := {
+ts_initiateAuthenticationRequestEsipa(template (value) octetstring euiccChallenge := '00112233445566778899aabbccddeeff'O,
+ template (omit) charstring smdpAddress := "smdp.example.com",
+ template (omit) EUICCInfo1 euiccInfo1 := ts_EUICCInfo1) := {
initiateAuthenticationRequestEsipa := {
euiccChallenge := euiccChallenge,
- smdpAddress := omit,
- euiccInfo1 := omit
+ smdpAddress := smdpAddress,
+ euiccInfo1 := euiccInfo1
}
}


To view, visit change 36647. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I97aa039810ad9fffea4226254fa675fd24647de1
Gerrit-Change-Number: 36647
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-MessageType: newchange