This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22519 ) Change subject: CTRL_Adapter: Add function f_ipa_ctrl_wait_link_down ...................................................................... CTRL_Adapter: Add function f_ipa_ctrl_wait_link_down Change-Id: Ia9f08dae76774925de8a08c7e313965280cb51b0 --- M library/Osmocom_CTRL_Adapter.ttcn 1 file changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/22519/1 diff --git a/library/Osmocom_CTRL_Adapter.ttcn b/library/Osmocom_CTRL_Adapter.ttcn index fefff8b..e1fba1b 100644 --- a/library/Osmocom_CTRL_Adapter.ttcn +++ b/library/Osmocom_CTRL_Adapter.ttcn @@ -40,6 +40,20 @@ } } +/* wait for IPA CTRL link to connect and send UP */ +function f_ipa_ctrl_wait_link_down() +runs on CTRL_Adapter_CT { + timer T := 10.0; + T.start; + alt { + [] IPA_CTRL.receive(tr_ASP_IPA_EV(ASP_IPA_EVENT_DOWN)) { } + [] T.timeout { + setverdict(fail, "Timeout CTRL waiting for ASP_IPA_EVENT_DOWN"); + mtc.stop; + } + } +} + /*! Start the CTRL client connection to the specified CTRL IP+Port server*/ function f_ipa_ctrl_start_client(charstring bsc_host, PortNumber bsc_port) runs on CTRL_Adapter_CT { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22519 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: Ia9f08dae76774925de8a08c7e313965280cb51b0 Gerrit-Change-Number: 22519 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210128/5cd5ab21/attachment.htm>