Commit d9725aab authored by fischer's avatar fischer
Browse files

GeoNW functions

parent 4af04397
Loading
Loading
Loading
Loading
+51 −3
Original line number Original line Diff line number Diff line
@@ -981,7 +981,7 @@ module LibItsGeoNetworking_Functions {
        
        
        
        
        /**
        /**
         * @desc Gets the LS retransmission timer.
         * @desc Gets the LS retransmission timer.. Valid for NetRepInterval = default (cong. ctrl).
         * @return 
         * @return 
         */
         */
        function f_getLSRetransmitTimer() return float {
        function f_getLSRetransmitTimer() return float {
@@ -993,7 +993,7 @@ module LibItsGeoNetworking_Functions {
        }
        }
        
        
        /**
        /**
         * @desc Gets the LS retransmission timer for NetBeaconInterval = medium (cong. ctrl).
         * @desc Gets the LS retransmission timer for NetRepInterval = medium (cong. ctrl).
         * @return 
         * @return 
         */
         */
        function f_getLSRetransmitTimerMedium() return float {
        function f_getLSRetransmitTimerMedium() return float {
@@ -1005,7 +1005,7 @@ module LibItsGeoNetworking_Functions {
        }
        }
        
        
        /**
        /**
         * @desc Gets the LS retransmission timer for NetBeaconInterval = maximum (cong. ctrl).
         * @desc Gets the LS retransmission timer for NetRepInterval = maximum (cong. ctrl).
         * @return 
         * @return 
         */
         */
        function f_getLSRetransmitTimerMaximum() return float {
        function f_getLSRetransmitTimerMaximum() return float {
@@ -1016,6 +1016,42 @@ module LibItsGeoNetworking_Functions {
            return v_itsGnLocationServiceRetransmitTimer;
            return v_itsGnLocationServiceRetransmitTimer;
        }
        }


        /**
         * @desc Gets the App retransmission timer. Valid for AppRepInterval = default (cong. ctrl).
         * @return 
         */
        function f_getAppRetransmitTimer() return float {
            var float v_itsGnLocationServiceRetransmitTimer := 1.0;
            
            //TODO get the value from PIXIT or MIB
            
            return v_itsGnLocationServiceRetransmitTimer;
        }
        
        /**
         * @desc Gets the App retransmission timer for AppRepInterval = medium (cong. ctrl).
         * @return 
         */
        function f_getAppRetransmitTimerMedium() return float {
            var float v_itsGnLocationServiceRetransmitTimer := 2.0;
            
            //TODO get the value from PIXIT or MIB
            
            return v_itsGnLocationServiceRetransmitTimer;
        }
        
        /**
         * @desc Gets the App retransmission timer for AppRepInterval = maximum (cong. ctrl).
         * @return 
         */
        function f_getAppRetransmitTimerMaximum() return float {
            var float v_itsGnLocationServiceRetransmitTimer := 3.0;
            
            //TODO get the value from PIXIT or MIB
            
            return v_itsGnLocationServiceRetransmitTimer;
        }
        
        /**
        /**
         * @desc Gets the LS maximum retransmission number.
         * @desc Gets the LS maximum retransmission number.
         * @return 
         * @return 
@@ -1028,6 +1064,18 @@ module LibItsGeoNetworking_Functions {
            return v_itsGnLocationServiceMaxRetrans;
            return v_itsGnLocationServiceMaxRetrans;
        }
        }


        /**
         * @desc Gets the Application maximum retransmission number.
         * @return 
         */
        function f_getAppMaxRetrans() return integer {
            var integer v_itsGnLocationServiceMaxRetrans := 10;
            
            //TODO get the value from PIXIT or MIB
            
            return v_itsGnLocationServiceMaxRetrans;
        }
        
        /**
        /**
         * @desc Gets the Location Service packet buffer size.
         * @desc Gets the Location Service packet buffer size.
         * @return 
         * @return