Commit 26fa816b authored by schmitting's avatar schmitting
Browse files

IN functions added, types/templates modified

parent de22143f
Loading
Loading
Loading
Loading
+384 −3

File changed.

Preview size limit exceeded, changes collapsed.

+6 −9
Changes for ttcn/DCC/LibItsDcc_Templates.ttcn3: 6 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -44,12 +44,10 @@ module LibItsDcc_Templates {
         */
        template UtRadioCommandIndication m_utRadioCommandIndication(Channel p_channel,
                                                                     template integer p_measuredPower,
                                                                     template integer p_interPacketSpacing_Toff,
                                                                     template integer p_burstLength_Ton) :=
                                                                     template integer p_interPacketSpacing_Toff) :=
           {channel                 := p_channel,
            measuredPower           := p_measuredPower,
            interPacketSpacing_Toff := p_interPacketSpacing_Toff,
            burstLength_Ton         := p_burstLength_Ton
            interPacketSpacing_Toff := p_interPacketSpacing_Toff
           } // End m_utRadioCommandIndication
           
    } // End of group utPrimitives
@@ -63,11 +61,11 @@ module LibItsDcc_Templates {
         */
        template InReq m_In_Request(integer     p_commandReference,
                                    octetstring p_referenceBurst,
                                    integer     p_requestedSendPower,
                                    integer     p_requestedTxPower,
                                    integer     p_dCCProfileIdentifier) :=
           {commandReference     := p_commandReference,
            referenceBurst       := p_referenceBurst,
            requestedSendPower   := p_requestedSendPower,
            requestedSendPower   := p_requestedTxPower,
            dCCProfileIdentifier := p_dCCProfileIdentifier
            } // End m_In_Request
        
@@ -76,12 +74,11 @@ module LibItsDcc_Templates {
         */
        template InSta mw_In_Status(template integer p_commandReference,
                                    template Channel p_channel,
                                    template boolean p_transmissionSuccessStatus,
                                    template integer p_achievedSendPower) :=
                                    template boolean p_transmissionSuccessStatus) :=
           {commandReference          := p_commandReference,
            channel                   := p_channel,
            transmissionSuccessStatus := p_transmissionSuccessStatus,
            achievedSendPower         := p_achievedSendPower
            achievedSendPower         := ?
           } // End mw_In_Status
        
    } // End of group inSapPrimitives
+7 −2
Changes for ttcn/DCC/LibItsDcc_TypesAndValues.ttcn3: 7 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -36,8 +36,7 @@ module LibItsDcc_TypesAndValues {
        type record UtRadioCommandIndication { 
            Channel channel,
            integer measuredPower,
            integer interPacketSpacing_Toff,
            integer burstLength_Ton
            integer interPacketSpacing_Toff
        }
        
    } // End of group utRadioPrimitives
@@ -83,6 +82,12 @@ module LibItsDcc_TypesAndValues {
        }
            
    } // End of group subFields
    
    group Constants {
        
        const integer c_maxCommandReference := 256;
     
     } // End of group Constants
}
with {
    encode "LibItsDcc_TypesAndValues"