Loading ttcn/Common/LibItsCommon_Functions.ttcn +9 −1 Original line number Diff line number Diff line Loading @@ -177,7 +177,6 @@ module LibItsCommon_Functions { * @param p_orientation Direction of the computed position (0 to 359; 0 means North) * @param p_latitude Computed position's latitude * @param p_longitude Computed position's longitude * @return LongPosVector */ external function fx_computePositionUsingDistance( in Int32 p_refLatitude, Loading @@ -188,6 +187,15 @@ module LibItsCommon_Functions { out Int32 p_longitude ); /** * @desc External function to compute radius of a given circular area * @param p_squareMeters Square meters of an circular area * @return Computed radius in meters */ external function fx_computeRadiusFromCircularArea( in float p_squareMeters ) return float; } // end externalFunctions Loading ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +20 −0 Original line number Diff line number Diff line Loading @@ -796,6 +796,20 @@ module LibItsGeoNetworking_Functions { return v_geoArea; } /** * @desc Compute radius of an circular area * @param p_squareMeters Square meters of an circular area * @return Computed radius in meters * @see fx_computeRadiusFromCircularArea */ function f_radiusFromCircularArea( in float p_squareMeters ) return float { log("*** f_distance: INFO: calling fx_computeRadiusFromCircularArea() ***"); return fx_computeRadiusFromCircularArea(p_squareMeters); } /** * @desc Compute distance between two points * @param p_pointA First point Loading Loading @@ -1800,6 +1814,12 @@ module LibItsGeoNetworking_Functions { return v_cbfMinTime; } // end f_getGeoUnicastCbfMinTime function f_getGnMaxAreaSize() return float { var float v_maxAreaSize := PICS_GN_MAX_GEO_AREA_SIZE; return v_maxAreaSize; } // end f_getGnMaxAreaSize /** * @desc Set the number of neighbour in the Location Table. * @see PX_MIN_NR_NEIGHBOUR Loading ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ module LibItsGeoNetworking_Pics { * @desc Lower limit of the packet repetition interval [km^2] * @see ETSI TS 102 871-1 v2.1.1 A.32/22 */ modulepar integer PICS_GN_MAX_GEO_AREA_SIZE:= 10; modulepar float PICS_GN_MAX_GEO_AREA_SIZE:= 10.0; /** * @desc Lower limit of the packet repetition interval [ms] Loading ttcn/GeoNetworking/LibItsGeoNetworking_TypesAndValues.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,12 @@ module LibItsGeoNetworking_TypesAndValues { } // end geoTestingConstants group units { const float c_squareKm := 1000000.0; } // end units group geoConfigurationTypes { /** Loading Loading
ttcn/Common/LibItsCommon_Functions.ttcn +9 −1 Original line number Diff line number Diff line Loading @@ -177,7 +177,6 @@ module LibItsCommon_Functions { * @param p_orientation Direction of the computed position (0 to 359; 0 means North) * @param p_latitude Computed position's latitude * @param p_longitude Computed position's longitude * @return LongPosVector */ external function fx_computePositionUsingDistance( in Int32 p_refLatitude, Loading @@ -188,6 +187,15 @@ module LibItsCommon_Functions { out Int32 p_longitude ); /** * @desc External function to compute radius of a given circular area * @param p_squareMeters Square meters of an circular area * @return Computed radius in meters */ external function fx_computeRadiusFromCircularArea( in float p_squareMeters ) return float; } // end externalFunctions Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +20 −0 Original line number Diff line number Diff line Loading @@ -796,6 +796,20 @@ module LibItsGeoNetworking_Functions { return v_geoArea; } /** * @desc Compute radius of an circular area * @param p_squareMeters Square meters of an circular area * @return Computed radius in meters * @see fx_computeRadiusFromCircularArea */ function f_radiusFromCircularArea( in float p_squareMeters ) return float { log("*** f_distance: INFO: calling fx_computeRadiusFromCircularArea() ***"); return fx_computeRadiusFromCircularArea(p_squareMeters); } /** * @desc Compute distance between two points * @param p_pointA First point Loading Loading @@ -1800,6 +1814,12 @@ module LibItsGeoNetworking_Functions { return v_cbfMinTime; } // end f_getGeoUnicastCbfMinTime function f_getGnMaxAreaSize() return float { var float v_maxAreaSize := PICS_GN_MAX_GEO_AREA_SIZE; return v_maxAreaSize; } // end f_getGnMaxAreaSize /** * @desc Set the number of neighbour in the Location Table. * @see PX_MIN_NR_NEIGHBOUR Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ module LibItsGeoNetworking_Pics { * @desc Lower limit of the packet repetition interval [km^2] * @see ETSI TS 102 871-1 v2.1.1 A.32/22 */ modulepar integer PICS_GN_MAX_GEO_AREA_SIZE:= 10; modulepar float PICS_GN_MAX_GEO_AREA_SIZE:= 10.0; /** * @desc Lower limit of the packet repetition interval [ms] Loading
ttcn/GeoNetworking/LibItsGeoNetworking_TypesAndValues.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,12 @@ module LibItsGeoNetworking_TypesAndValues { } // end geoTestingConstants group units { const float c_squareKm := 1000000.0; } // end units group geoConfigurationTypes { /** Loading