Change in osmo-ttcn3-hacks[master]: simtrace emulation: adjust templates to support octsim tester
Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27344 ) Change subject: simtrace emulation: adjust templates to support octsim tester ...................................................................... simtrace emulation: adjust templates to support octsim tester It has multiple switchable slots. Change-Id: I00576170a2b6921d99906ed8bd45d9eece053056 --- M library/SIMTRACE_Templates.ttcn M library/SIMTRACE_Types.ttcn 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/44/27344/1 diff --git a/library/SIMTRACE_Templates.ttcn b/library/SIMTRACE_Templates.ttcn index ef857fe..d71828a 100644 --- a/library/SIMTRACE_Templates.ttcn +++ b/library/SIMTRACE_Templates.ttcn @@ -215,9 +215,9 @@ template (value) SIMTRACE_PDU -ts_SIMTRACE_CEMU_CONFIG(template (value) CardEmu_FeatureFlags flags) := +ts_SIMTRACE_CEMU_CONFIG(template (value) CardEmu_FeatureFlags flags, integer slotnr) := ts_SIMTRACE(SIMTRACE_MSGT_BD_CEMU_CONFIG, { cardem_bd_config := { features := flags, - slot_mux_nr := 0} }); + slot_mux_nr := slotnr} }); template (present) SIMTRACE_PDU tr_SIMTRACE_CEMU_CONFIG(template (present) CardEmu_FeatureFlags flags) := diff --git a/library/SIMTRACE_Types.ttcn b/library/SIMTRACE_Types.ttcn index d28df2f..25a1adf 100644 --- a/library/SIMTRACE_Types.ttcn +++ b/library/SIMTRACE_Types.ttcn @@ -195,7 +195,7 @@ /* CEMU_USB_MSGT_DT_CARDINSERT */ type record Cardemu_DT_CardInsert { - uint8_t card_insert + uint8_t card_insert (0..1) }; /* CEMU_USB_MSGT_DT_SET_ATR */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27344 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I00576170a2b6921d99906ed8bd45d9eece053056 Gerrit-Change-Number: 27344 Gerrit-PatchSet: 1 Gerrit-Owner: Hoernchen <ewild@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
Hoernchen