Commit 80df0a5f authored by fischer's avatar fischer
Browse files

TC_GEONW_MDE_LT_TIC_BV_01 added

parent 94913622
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
 *	@desc		Module containing common functions for ITS
 *
 */
 
module LibItsCommon_Functions {


+30 −3
Original line number Diff line number Diff line
@@ -15,8 +15,10 @@ module LibItsGeoNetworking_Functions {
    // LibIts
    import from LibIts_TestSystem all;
    import from LibIts_Interface all; 
    import from LibItsCommon_Functions all;
    import from LibItsGeoNetworking_TypesAndValues all;
    import from LibItsGeoNetworking_Templates all;
    import from LibItsGeoNetworking_Pixits all;
    
    /**
     * @desc    Create Facility component and connects GeoNetworking port
@@ -1074,6 +1076,31 @@ module LibItsGeoNetworking_Functions {
            return v_itsGnBeaconServiceRetransmitTimer;
        }
        
        /**
        /**
         * @desc Gets the beacon service retransmit timer for NetBeaconInterval = medium (cong. ctrl).
         * @return 
         */
        function f_getBSRetransmitTimerMedium() return float {
            var float v_itsGnBeaconServiceRetransmitTimer := 5.0; // timer value increased (medium)
            
            //TODO get the value from PIXIT
            
            return v_itsGnBeaconServiceRetransmitTimer;
        }
        
        /**
         * @desc Gets the beacon service retransmit timer for NetBeaconInterval = maximum (cong. ctrl).
         * @return 
         */
        function f_getBSRetransmitTimerMaximum() return float {
            var float v_itsGnBeaconServiceRetransmitTimer := 8.0; // timer value increased (maximum)
            
            //TODO get the value from PIXIT
            
            return v_itsGnBeaconServiceRetransmitTimer;
        }
        
        /**
         * @desc Gets the maximum beacon service jitter.
         * @return 
@@ -1102,9 +1129,9 @@ module LibItsGeoNetworking_Functions {
         * @desc Set the number of neighbour in the Location Table.
         * @return 
         */        
        function f_setNrNeighbourLT(in integer p_nrNeighbour) runs on ItsNt {
            
            //TODO set the number of Nieghbour in the IUT Location Table
        function f_setNrNeighbourLocTableDefault() {
            var integer v_nrNeighbour := f_random (0, PX_MIN_NR_NEIGHBOUR);
            //TODO set the number of Neighbour in the IUT Location Table to v_nrNeighbour
            
        } // end f_setNrNeighbourLT
        
+31 −0
Original line number Diff line number Diff line
/**
 *	@author 	ETSI / STF405
 *  @version 	$URL: svn+ssh://vcs.etsi.org/TTCN3/ATS/Its/trunk/ttcn/AtsCAM/ItsCam_Pixits.ttcn $
 *				$Id: ItsCam_Pixits.ttcn 87 2010-08-27 10:15:07Z fischer $
 *	@desc		CAM PICS
 *
 */
module LibItsGeoNetworking_Pixits {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    
    group geoNetworkingPixits {
        
    group CongestionControl {
        
        /**
         * @desc Nr of neighbour limit to enter the "medium" congestion status value
         */
    	modulepar integer PX_MIN_NR_NEIGHBOUR := 50;

        /**
         * @desc Nr of neighbour limit to enter the "maximum" congestion status value
         */
    	modulepar integer PX_MAX_NR_NEIGHBOUR := 50;

    } // end of group

    } // end of group geoNetworkingPixits
    
} // end of module LibItsGeoNetworking_Pixits