Loading ttcn/Lib_NG_NAS/LIB_NG_NAS_Functions.ttcn +23 −0 Original line number Diff line number Diff line Loading @@ -322,9 +322,12 @@ module LIB_NG_NAS_Functions { if ( (vc_recvNGAP_PDU.initiatingMessage.value_.InitialUEMessage.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.InitialUEMessage.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasUl_Msg); log("****************************************"); log("InitialUEMessage - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasUl_Msg ); log("****************************************"); } Loading @@ -336,9 +339,29 @@ module LIB_NG_NAS_Functions { if ( (vc_recvNGAP_PDU.initiatingMessage.value_.DownlinkNASTransport.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.DownlinkNASTransport.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasDl_Msg); log("****************************************"); log("DownlinkNASTransport - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasDl_Msg ); log("****************************************"); } } }else if (match(vc_recvNGAP_PDU.initiatingMessage,mw_n2_UplinkNASTransport_base_nas)){ var integer numOfIEs := lengthof(vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs) for (var integer i:=0;i<numOfIEs;i:=i+1){ if ( (vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasUl_Msg); log("****************************************"); log("UplinkNASTransport - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasUl_Msg ); log("****************************************"); } Loading Loading
ttcn/Lib_NG_NAS/LIB_NG_NAS_Functions.ttcn +23 −0 Original line number Diff line number Diff line Loading @@ -322,9 +322,12 @@ module LIB_NG_NAS_Functions { if ( (vc_recvNGAP_PDU.initiatingMessage.value_.InitialUEMessage.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.InitialUEMessage.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasUl_Msg); log("****************************************"); log("InitialUEMessage - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasUl_Msg ); log("****************************************"); } Loading @@ -336,9 +339,29 @@ module LIB_NG_NAS_Functions { if ( (vc_recvNGAP_PDU.initiatingMessage.value_.DownlinkNASTransport.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.DownlinkNASTransport.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasDl_Msg); log("****************************************"); log("DownlinkNASTransport - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasDl_Msg ); log("****************************************"); } } }else if (match(vc_recvNGAP_PDU.initiatingMessage,mw_n2_UplinkNASTransport_base_nas)){ var integer numOfIEs := lengthof(vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs) for (var integer i:=0;i<numOfIEs;i:=i+1){ if ( (vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs[i].id) == 38 /*id_NAS_PDU*/){ vc_recvNAS_PDU := vc_recvNGAP_PDU.initiatingMessage.value_.UplinkNASTransport.protocolIEs[i].value_.nAS_PDU; var bitstring bs := oct2bit(vc_recvNAS_PDU); var integer v_result := decvalue(bs,vc_recvNgNasUl_Msg); log("****************************************"); log("UplinkNASTransport - NAS-PDU! "); log( vc_recvNAS_PDU ); log( vc_recvNgNasUl_Msg ); log("****************************************"); } Loading