Loading ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1663,12 +1663,12 @@ module LibItsGeoNetworking_Functions { * @return FncRetCode * @return FncRetCode */ */ function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode { function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode { var template (value) ToBeSignedData v_toBeSignedData; var template (value) ToBeSignedSecuredMessage v_ToBeSignedSecuredMessage; // Build the beacon template // Build the beacon template v_toBeSignedData := f_buildSecuredMessagePayloadToBeSigned(); v_ToBeSignedSecuredMessage := f_buildSecuredMessagePayloadToBeSigned(); return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_toBeSignedData))) } ); return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_ToBeSignedSecuredMessage))) } ); } } /** /** Loading Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1663,12 +1663,12 @@ module LibItsGeoNetworking_Functions { * @return FncRetCode * @return FncRetCode */ */ function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode { function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode { var template (value) ToBeSignedData v_toBeSignedData; var template (value) ToBeSignedSecuredMessage v_ToBeSignedSecuredMessage; // Build the beacon template // Build the beacon template v_toBeSignedData := f_buildSecuredMessagePayloadToBeSigned(); v_ToBeSignedSecuredMessage := f_buildSecuredMessagePayloadToBeSigned(); return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_toBeSignedData))) } ); return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_ToBeSignedSecuredMessage))) } ); } } /** /** Loading