Commit bb6ffb84 authored by garciay's avatar garciay
Browse files

STF545: Start ATS development

parent b442b991
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ module ItsSecurity_Functions {
            // Local variables
            var GnNonSecuredPacket v_gnNonSecuredPacket;
            var octetstring v_gnPayload;
            var template (value) EtsiTs103097Data v_securedMessage;
            var EtsiTs103097Data v_securedMessage;
            
            // Build signed Ieee1609Dot2Data
            v_gnNonSecuredPacket := valueof(m_geoNwShbPacket(
@@ -642,6 +642,8 @@ module ItsSecurity_Functions {
            var integer v_cntSpeed;
            var float v_timer := 0.2; // 1 / 5;

            log(">>> fb_setCamFrequencyGreatherThan1Hz");
            
            map(self:utPort, system:camUtPort);
            vc_default := activate(LibItsCam_Functions.a_utDefault());
            
+17 −0
Original line number Diff line number Diff line
@@ -60,6 +60,23 @@ module ItsSecurity_TestCases {
    import from ItsSecurity_Templates all;
    import from ItsSecurity_Pics all;
    
    testcase TC_TEST_1() runs on ItsGeoNetworking system ItsSecSystem { // TODO To be rremoved, for debug purpose only
      
      // Local variables
      var GeoNetworkingInd v_geoNwInd;
      
      // Test component configuration
      f_cf01Up(); // Initialise IUT with CERT_IUT_A_AT signed with CERT_IUT_A_AA
      
      // Test adapter configuration
      
      // Preamble
      f_sendSecuredCam(cc_taCert_B, valueof(m_headerInfo_cam(-, f_computeGnTimestamp())), valueof(m_signerIdentifier_digest));
      
      // Postamble
      f_cf01Down();
    } // End of testcase TC_TEST_1
    
    /**
     * @desc Sending behaviour test cases
     * @see ETSI TS 103 096-2 V1.3.32 (2018-01) Clause 5.2 Sending behaviour