jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33145 )
Change subject: BSSMAP_Templates: Add template to receive ChannelType IE ......................................................................
BSSMAP_Templates: Add template to receive ChannelType IE
Change-Id: Ia6f283c17a1687ee65f8997bbeba0b09d1a462cf --- M library/BSSMAP_Templates.ttcn 1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/45/33145/1
diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn index 3e39e78..bb395ae 100644 --- a/library/BSSMAP_Templates.ttcn +++ b/library/BSSMAP_Templates.ttcn @@ -534,6 +534,17 @@ speechId_DataIndicator := Spdi_TCHF_FR }
+template BSSMAP_IE_ChannelType tr_BSSMAP_IE_ChannelType(template BIT4 speech_data_ind, + template OCT1 chan_rate_type, + template octetstring speech_id) := { + elementIdentifier := '0B'O, + lengthIndicator := ?, + speechOrDataIndicator := speech_data_ind, + spare1_4 := '0000'B, + channelRateAndType := chan_rate_type, + speechId_DataIndicator := speech_id +} + template (value) BSSMAP_IE_ChannelType ts_BSSMAP_IE_ChannelTypeCTM modifies ts_BSSMAP_IE_ChannelType := { speechOrDataIndicator := '0100'B /* speech + CTM */ }