From ceaff266829866392feeda5640010d97587a5381 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 23 Apr 2019 22:18:05 +0200 Subject: [PATCH] LLC_Templates: Add templates for NULL and DISC Change-Id: Ia5b350990379bba1677a0c1c99cf37e6651ba84d --- library/LLC_Templates.ttcn | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/library/LLC_Templates.ttcn b/library/LLC_Templates.ttcn index 024ae0b2e..b1cdb75c7 100644 --- a/library/LLC_Templates.ttcn +++ b/library/LLC_Templates.ttcn @@ -135,6 +135,19 @@ template (value) PDU_LLC ts_LLC_DM(template (value) BIT1 p_f, template (value) B template (value) BIT1 cr) := ts_LLC_U('0001'B, p_f, Information_field_U:{dM := ''O}, sapi, cr); +template PDU_LLC tr_LLC_NULL(template BIT1 p_f, template BIT4 sapi, template BIT1 cr) := + tr_LLC_U('0000'B, p_f, Information_field_U:{nULL := ''O}, sapi, cr); +template (value) PDU_LLC ts_LLC_NULL(template (value) BIT1 p_f, template (value) BIT4 sapi, + template (value) BIT1 cr) := + ts_LLC_U('0000'B, p_f, Information_field_U:{nULL := ''O}, sapi, cr); + +template PDU_LLC tr_LLC_DISC(template BIT1 p_f, template BIT4 sapi, template BIT1 cr) := + tr_LLC_U('0100'B, p_f, Information_field_U:{dISC := ''O}, sapi, cr); +template (value) PDU_LLC ts_LLC_DISC(template (value) BIT1 p_f, template (value) BIT4 sapi, + template (value) BIT1 cr) := + ts_LLC_U('0100'B, p_f, Information_field_U:{dISC := ''O}, sapi, cr); + + const BIT4 c_LLC_SAPI_LLGMM := '0001'B; const BIT4 c_LLC_SAPI_TOM2 := '0010'B; const BIT4 c_LLC_SAPI_LL3 := '0011'B;