aboutsummaryrefslogtreecommitdiffstats
path: root/library/L1CTL_PortType.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/L1CTL_PortType.ttcn')
-rw-r--r--library/L1CTL_PortType.ttcn5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn
index 14a059c2..8e03c02e 100644
--- a/library/L1CTL_PortType.ttcn
+++ b/library/L1CTL_PortType.ttcn
@@ -35,12 +35,13 @@ module L1CTL_PortType {
function f_L1CTL_FBSB(L1CTL_PT pt, Arfcn arfcn, L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED, integer rxlev_exp := 57) {
timer T := 15.0;
for (var integer i := 0; i < 10; i := i+1) {
+ var L1ctlDlMessage dl;
pt.send(ts_L1CTL_FBSB_REQ(arfcn, valueof(t_L1CTL_FBSB_F_ALL), 0, ccch_mode, rxlev_exp));
T.start
alt {
[] pt.receive(tr_L1CTL_FBSB_CONF(0)) { return; };
- [i >= 9] pt.receive(tr_L1CTL_FBSB_CONF(?)) {
- setverdict(fail, "FBSB Failed with non-zero return code");
+ [i >= 9] pt.receive(tr_L1CTL_FBSB_CONF(?)) -> value dl {
+ setverdict(fail, "FBSB Failed with non-zero return code ", dl.payload.fbsb_conf.result);
mtc.stop;
};
[] pt.receive(tr_L1CTL_FBSB_CONF(?)) {