Commit ff9643d0 authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

start of TTF033, added groups,...

parent 09e8ed56
Loading
Loading
Loading
Loading
+17 −7
Original line number Diff line number Diff line
/**
*    @author   ETSI / TTF033
*    @version  $URL$
*              $Id$
*    @desc    This module provides external function declarations.
*    @copyright   ETSI Copyright Notification
*                 No part may be reproduced except as authorized by written permission.
*                 The copyright and the foregoing restriction extend to reproduction in all media.
*                 All rights reserved.
*    @see      ETSI TS 
*/
module LibNGAP_EncdecDeclarations {
    
    import from LibNGAP_TypesAndValues all;


    external function fx_enc_ProtocolIE (ProtocolIE p) return bitstring
        with {extension "prototype(convert) encode(LibNGAP_asn1)"}    
    
    external function fx_dec_ProtocolIE (inout bitstring pdu, out ProtocolIE p) return integer
        with {extension "prototype(sliding) decode(LibNGAP_asn1)"}
//TODO: if no additional type in TypesAndvalues remove
    //external function fx_enc_ProtocolIE (ProtocolIE p) return bitstring
    //    with {extension "prototype(convert) encode(LibNGAP_codec)"}    
    //external function fx_dec_ProtocolIE (inout bitstring pdu, out ProtocolIE p) return integer
    //    with {extension "prototype(sliding) decode(LibNGAP_codec)"}


} // End of module LibNGAP_EncdecDeclarations
 No newline at end of file
+14 −14
Original line number Diff line number Diff line
 /**
 *    @author   ETSI / 
 *    @version  $URL:$
 *              $Id:$
 *    @desc     This module provides PixitS used by the test component for NGAP tests.
*    @author   ETSI / TTF033
*    @version  $URL$
*              $Id$
*    @desc    This module provides PIXITS for NGAP protocol.
*    @copyright   ETSI Copyright Notification
*                 No part may be reproduced except as authorized by written permission.
*                 The copyright and the foregoing restriction extend to reproduction in all media.
*                 All rights reserved.
 *    @see      ETSI TS  / 3GPP TS 
*    @see      ETSI TS 
*/
module LibNGAP_Pixits {
    
@@ -30,7 +30,7 @@ module LibNGAP_Pixits {
    /**
     * @desc Network transportation layer setting
     */
    group NGAP_Pixit_Parameters {
    group LibNGAP_Pixit_Parameters {
        
        /** 
         * @desc    boolean (This is an operator option, not a protocol option), True, if IPv6 addresses are used
@@ -42,12 +42,12 @@ module LibNGAP_Pixits {
         */
        modulepar TransportProtocol PX_NGAP_TRANSPORT_PROTOCOL := SCTP_E;
        
    } // End of group NGAP_Pixit_Parameters
    } // End of group LibNGAP_Pixit_Parameters
    
    /**
     * @desc Network transportation layer timers
     */
    group NGAP_Timers {
    group LibNGAP_Timers {
        
        /** @desc float for TWait default value for waiting an operator action
         */
+818 −247

File changed.

Preview size limit exceeded, changes collapsed.

+38 −46
Original line number Diff line number Diff line
/**
 *    @author   ETSI / STF519
 *    @author   ETSI / TTF033
 *    @version  $URL$
 *              $Id$
 *    @desc     Module containing types and values for S1AP Protocol
 *    @desc     This module provides TypesAndValues for NGAP protocol.
 *    @copyright   ETSI Copyright Notification
 *                 No part may be reproduced except as authorized by written permission.
 *                 The copyright and the foregoing restriction extend to reproduction in all media.
 *                 All rights reserved.
 *    @see      ETSI TS 136 413 / 3GPP TS 36.413 version 13.4.0 Release 13
 *    @see      ETSI TS 138 413 / 3GPP TS 38.413 version 16.12 Release 16
 */
module LibNGAP_TypesAndValues {
    
    // LibNGAPAP
    // LibNGAP
    import from NGAP_IEs language "ASN.1:2002" all;
    import from NGAP_PDU_Contents language "ASN.1:2002" all;
    import from NGAP_PDU_Descriptions language "ASN.1:2002" all;

   
    //type /*NGAP_PDU_Descriptions.*/InitiatingMessage InitiatingMessage {
    //    integer procedureCode ,
//TODO: Remove!!!
//    type set NGAPIEs{
//        anytype value_ optional,
//        GlobalRANNodeID    globalRANNodeID optional,
//        GlobalGNB_ID    globalGNB_ID optional,
//        RANNodeName    rANNodeName optional,
//        SupportedTAList    supportedTAList optional,
//        PagingDRX     defaultPagingDRX optional,
//        UERetentionInformation    uERetentionInformation optional,
//        NB_IoT_DefaultPagingDRX nB_IoT_DefaultPagingDRX optional,
//        Extended_RANNodeName extended_RANNodeName optional
//    }
//
//    /**
//     * @desc This data structure redefines ASN.1 ProtocolIE-Field data structure die to parameterization limitation of TTCN-3 tools
//     * @member id           Protocol Information Element identifier
//     * @member criticality  Criticality value attached to this IE
//     * @member value_       Value of this IE
//     * @see ETSI TS 136 413 Clause 9.1 Message Functional Definition and Content
//     */
//    type record ProtocolIE {
//        integer id (0 .. 65535),
//        enumerated {
//            reject, ignore, notify
//        } criticality,
    //       RecordOf_ProtocolIE     value_ 
//        //anytype value_
//        NGAPIEs IE
//    }

    type set NGAPIEs{
        anytype value_ optional,
        GlobalRANNodeID    globalRANNodeID optional,
        GlobalGNB_ID    globalGNB_ID optional,
        RANNodeName    rANNodeName optional,
        SupportedTAList    supportedTAList optional,
        PagingDRX     defaultPagingDRX optional,
        UERetentionInformation    uERetentionInformation optional,
        NB_IoT_DefaultPagingDRX nB_IoT_DefaultPagingDRX optional,
        Extended_RANNodeName extended_RANNodeName optional
    }

    /**
     * @desc This data structure redefines ASN.1 ProtocolIE-Field data structure die to parameterization limitation of TTCN-3 tools
     * @member id           Protocol Information Element identifier
     * @member criticality  Criticality value attached to this IE
     * @member value_       Value of this IE
     * @see ETSI TS 136 413 Clause 9.1 Message Functional Definition and Content
     */
    type record ProtocolIE {
        integer id (0 .. 65535),
        enumerated {
            reject, ignore, notify
        } criticality,
        //anytype value_
        NGAPIEs IE
    }
    
    /**
     * @desc List of ProtocolIEs
     */
    type set of ProtocolIE RecordOf_ProtocolIE;
//    
//    /**
//     * @desc List of ProtocolIEs
//     */
//    type set of ProtocolIE RecordOf_ProtocolIE;
    
} with {
    encode "LibNGAP_asn1"
    encode "LibNGAP_codec"
} // End of module LibNGAP_TypesAndValues