Commit 902b54f3 authored by tepelmann's avatar tepelmann
Browse files

Added PIXIT.

parent 10327125
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1044,7 +1044,7 @@ module LibItsGeoNetworking_Functions {
         * @return 
         */
        function f_setLocalSequenceNumber() runs on ItsNt {
            vc_localSeqNumber := (vc_localSeqNumber + 1) mod c_uInt16Max; //TODO check if c_uInt16Max should be replaced by module parameter
            vc_localSeqNumber := (vc_localSeqNumber + 1) mod c_uInt16Max;
        }
        
    } // end testerFunctions
@@ -1194,9 +1194,7 @@ module LibItsGeoNetworking_Functions {
         * @return 
         */
        function f_getDeltaTimer() return float {
            var float v_deltaTimer := 0.1;
            
            //TODO get the value from PIXIT
            var float v_deltaTimer := PX_T_DELTA;
            
            return v_deltaTimer;
        }
+11 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
 *  @author     ETSI / STF405
 *  @version    $URL$
 *              $Id$
 *  @desc       CAM PICS
 *  @desc       GeoNetworking PICS
 *
 */
module LibItsGeoNetworking_Pixits {
@@ -12,7 +12,7 @@ module LibItsGeoNetworking_Pixits {
    
    group geoNetworkingPixits {
        
        group CongestionControl {
        group congestionControl {
            
            /**
             * @desc    Nr of neighbour limit to enter the "medium" congestion status value
@@ -31,7 +31,15 @@ module LibItsGeoNetworking_Pixits {
             */
            modulepar UInt32 PX_DISTANCE_UNIT := 10000;
    
        } // end CongestionControl
        } // end congestionControl
        
        group timers {
            
            /**
             * @desc  Delta for timers to reflect processing time
             */
            modulepar float PX_T_DELTA := 0.1;
        }

    } // end geoNetworkingPixits