Commit 15af49ff authored by wattelet's avatar wattelet
Browse files

Adding Node E and F

parent a8df66b9
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -66,15 +66,15 @@ module LibItsGeoNetworking_Functions {
            alt {
                [] utPort.receive(UtChangePositionResult:true) {
                    tc_wait.stop;
                    log("*** f_utInitializeIut: INFO: IUT initialized ***");
                    log("*** f_utChangePosition: INFO: IUT position changed ***");
                }
                [] utPort.receive {
                    tc_wait.stop;
                    log("*** f_utInitializeIut: INFO: IUT could not be initialized ***");
                    log("*** f_utChangePosition: INFO: IUT position not changed ***");
                    f_selfOrClientSyncAndVerdict("error", e_error);
                }
                [] tc_wait.timeout {
                    log("*** f_utInitializeIut: INFO: IUT could not be initialized in time ***");
                    log("*** f_utChangePosition: INFO: IUT position not changed in time ***");
                    f_selfOrClientSyncAndVerdict("error", e_timeout);
                }
                [else] { // Shortcut defaults
@@ -1697,6 +1697,12 @@ module LibItsGeoNetworking_Functions {
                case (c_compNodeD) {
                    v_gnAddr := PX_TS_NODE_D_LOCAL_GN_ADDR;
                }
                case (c_compNodeE) {
                    v_gnAddr := PX_TS_NODE_E_LOCAL_GN_ADDR;
                }
                case (c_compNodeF) {
                    v_gnAddr := PX_TS_NODE_F_LOCAL_GN_ADDR;
                }
                case else {
                    log("*** f_getTsGnLocalAddress: INFO: Unknown component " & p_node & " ***");
                }
+20 −0
Original line number Diff line number Diff line
@@ -58,6 +58,26 @@ module LibItsGeoNetworking_Pixits {
                mid := c_6ZeroBytes
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node E
             */
            modulepar GN_Address PX_TS_NODE_E_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
                mid := c_6ZeroBytes
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node F
             */
            modulepar GN_Address PX_TS_NODE_F_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
                mid := c_6ZeroBytes
            };

        } // end gnAddresses
        
        group congestionControl {