Commit 8cfc04e5 authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

added IE templates

parent 7093bde9
Loading
Loading
Loading
Loading
+21 −15
Original line number Diff line number Diff line
@@ -30,22 +30,28 @@ module LibNGAP_Templates {
                
        group g_NGAP_PDU  {

            /**
             *  @desc  Send  template  for  NGAP  PDU  with  InitiatingMessage  payload
             *  @param  p_procedureCode      Procedure  code
             *  @param  p_value                      Message  value  according  to  the  Procedure  code
             *  @see  ETSI  TS
             */
            template  (value) NGAP_PDU m_initiatingMessage(
                in  ProcedureCode  p_procedureCode,
                in  NGAP_CommonDataTypes.Criticality  p_criticality:=reject
                //in  anytype  p_value
//            /**
//             *  @desc  Send  template  for  NGAP  PDU  with  InitiatingMessage  payload
//             *  @param  p_procedureCode      Procedure  code
//             *  @param  p_value                      Message  value  according  to  the  Procedure  code
//             *  @see  ETSI  TS
//             */
//            template  (value) NGAP_PDU m_initiatingMessage(
//                in  ProcedureCode  p_procedureCode,
//                in  NGAP_CommonDataTypes.Criticality  p_criticality:=reject
//                //in  anytype  p_value
//            )  :=  {
//                initiatingMessage  :=  {
//                    procedureCode  :=  p_procedureCode,
//                    criticality  :=  p_criticality,
//                    value_  :=  omit//p_value
//                }
//            }  //  End  of  template  m_initiatingMessage
            
            template  (value) NGAP_PDU m_ngap_initMsg(
                in  InitiatingMessage  p_msg
            )  :=  {
                initiatingMessage  :=  {
                    procedureCode  :=  p_procedureCode,
                    criticality  :=  p_criticality,
                    value_  :=  omit//p_value
                }
                initiatingMessage  :=  p_msg
            }  //  End  of  template  m_initiatingMessage

//TODO: check value_ not allowed anytype