Commit 98dc7dc2 authored by berge's avatar berge
Browse files

Changes from v0.0.9 - TO BE COMPILED

parent f44c53fc
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -1245,6 +1245,15 @@ module LibItsGeoNetworking_Functions {
            return PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM;
            return PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM;
        }
        }
        
        
        /**
         * @desc    Gets the GeoBroadcast forwarding algorithm
         * @return  IUT's GeoBroadcast forwarding algorithm
         * @see     PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
         */
        function f_getGeoBroadcastForwardingAlgorithm() return GeoBroadcastForwardingAlgorithm {
            return PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM;
        }
        
        /**
        /**
         * @desc    Gets the IUT default hop limit
         * @desc    Gets the IUT default hop limit
         * @return  IUT's default hop limit
         * @return  IUT's default hop limit
+15 −3
Original line number Original line Diff line number Diff line
@@ -1261,7 +1261,7 @@ module LibItsGeoNetworking_Templates {
                    lifetime := ?,
                    lifetime := ?,
                    reserved := ?,
                    reserved := ?,
                    srcPosVector := ?,
                    srcPosVector := ?,
                       gnAddress := p_gnAddress
                    gnAddress := mw_gnAddress(p_gnAddress)
                }
                }
            }
            }
            
            
@@ -1639,6 +1639,18 @@ module LibItsGeoNetworking_Templates {
    
    
    group geoMiscTemplates {
    group geoMiscTemplates {


        /**
         * @desc    Receive template for GN_Address. Only M_ID field is discriminent 
         * @param   p_gnAddress Expected GN Address
         */
        template GN_Address mw_gnAddress(in template (present) GN_Address p_gnAddress) := {
            typeOfAddress := ?,
            stationType := ?,
            stationSubType := ?,
            stationCountryCode := ?,
            mid := p_gnAddress.mid
        }

        group geoDummyTemplates {
        group geoDummyTemplates {
            
            
            /**
            /**
@@ -1683,7 +1695,7 @@ module LibItsGeoNetworking_Templates {
                geoAreaPosLongitude := c_uInt32Zero,
                geoAreaPosLongitude := c_uInt32Zero,
                distanceA := c_uInt16Zero,
                distanceA := c_uInt16Zero,
                distanceB := c_uInt16Zero,
                distanceB := c_uInt16Zero,
                angle := c_uInt8Zero    
                angle := c_uInt16Zero    
            }
            }
        
        
            /**
            /**
+6 −5
Original line number Original line Diff line number Diff line
@@ -79,7 +79,7 @@ module LibItsGeoNetworking_TypesAndValues {
            UInt32 geoAreaPosLongitude,
            UInt32 geoAreaPosLongitude,
            UInt16 distanceA,
            UInt16 distanceA,
            UInt16 distanceB,
            UInt16 distanceB,
            UInt8 angle    
            UInt16 angle    
        }
        }
                
                
        /**
        /**
@@ -248,7 +248,7 @@ module LibItsGeoNetworking_TypesAndValues {
                UInt32          geoAreaPosLongitude,
                UInt32          geoAreaPosLongitude,
                UInt16          distanceA,
                UInt16          distanceA,
                UInt16          distanceB,
                UInt16          distanceB,
                UInt8           angle,
                UInt16          angle,
                UInt24          reserved2
                UInt24          reserved2
            }
            }
            
            
@@ -881,7 +881,8 @@ module LibItsGeoNetworking_TypesAndValues {
          */
          */
         type enumerated GeoBroadcastForwardingAlgorithm {
         type enumerated GeoBroadcastForwardingAlgorithm {
             e_unspecified(0),
             e_unspecified(0),
             e_simple(1)
             e_simple(1),
	     e_advanced(2)
         }
         }
        
        
    } // end geoNwPicsTypes
    } // end geoNwPicsTypes