Add templates for talker / listener detection to RSL_Types
Change-Id: Ibc936417fedf7dc663c6b7243090a91fc55c06a2
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 08e49b5..64025a5 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -2036,6 +2036,42 @@
}
}
+ /* 8.4.21 BTS -> BSC */
+ template (value) RSL_Message ts_RSL_TALKER_DET(template (value) RslChannelNr chan_nr) := {
+ msg_disc := ts_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+ msg_type := RSL_MT_TALKER_DET,
+ ies := {
+ t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr})
+ }
+ }
+ template RSL_Message tr_RSL_TALKER_DET(template RslChannelNr chan_nr,
+ template uint8_t acc_delay := ?) := {
+ msg_disc := tr_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+ msg_type := RSL_MT_TALKER_DET,
+ ies := {
+ tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}),
+ tr_RSL_IE(RSL_IE_Body:{access_delay := acc_delay})
+ }
+ }
+
+ /* 8.4.22 BTS -> BSC */
+ template (value) RSL_Message ts_RSL_LISTENER_DET(template (value) RslChannelNr chan_nr) := {
+ msg_disc := ts_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+ msg_type := RSL_MT_LISTENER_DET,
+ ies := {
+ t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr})
+ }
+ }
+ template RSL_Message tr_RSL_LISTENER_DET(template RslChannelNr chan_nr,
+ template uint8_t acc_delay := ?) := {
+ msg_disc := tr_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+ msg_type := RSL_MT_LISTENER_DET,
+ ies := {
+ tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}),
+ tr_RSL_IE(RSL_IE_Body:{access_delay := acc_delay})
+ }
+ }
+
/* COMMON CHANNEL MANAGEMENT MESSAGES */