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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26136 )
Change subject: library/L1CTL_PortType: add f_L1CTL_rx_data() helper
......................................................................
library/L1CTL_PortType: add f_L1CTL_rx_data() helper
Change-Id: I254171c6dc83f046b5ad1a72586c097deebb0fa7
Related: SYS#5319
---
M library/L1CTL_PortType.ttcn
1 file changed, 23 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/36/26136/1
diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn
index 80e33a8..ed235d3 100644
--- a/library/L1CTL_PortType.ttcn
+++ b/library/L1CTL_PortType.ttcn
@@ -42,6 +42,29 @@
return len;
}
+ function f_L1CTL_rx_data(L1CTL_PT pt,
+ template (present) RslChannelNr chan_nr := ?,
+ template (present) RslLinkId link_id := ?)
+ return L1ctlDlMessage {
+ var L1ctlDlMessage dl;
+ timer T := 2.0;
+
+ T.start;
+ alt {
+ [] pt.receive(tr_L1CTL_DATA_IND(chan_nr, link_id)) -> value dl {
+ return dl;
+ }
+ [] pt.receive { repeat; }
+ [] T.timeout {
+ setverdict(fail, "Timeout waiting for L1CTL DATA.ind");
+ mtc.stop;
+ }
+ }
+
+ /* Unreachable, make TITAN happy */
+ return dl;
+ }
+
function f_L1CTL_FBSB(L1CTL_PT pt, GsmBandArfcn arfcn,
L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED,
integer rxlev_exp := 57)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26136
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: I254171c6dc83f046b5ad1a72586c097deebb0fa7
Gerrit-Change-Number: 26136
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211106/3e42773f/attachment.htm>