/** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @version $URL$ * $Id$ * @desc Module containing base template definitions for DENM * @copyright ETSI Copyright Notification * No part may be reproduced except as authorized by written permission. * The copyright and the foregoing restriction extend to reproduction in all media. * All rights reserved. * */ module LibItsCommon_Templates { import from ITS_Container language "ASN.1:1997" all; // LibItsCommon import from LibItsCommon_TypesAndValues all; group taPrimitives { template (value) AdapterControlResults m_acSecResponseSuccess := {acSecResponse:=true}; /** * @desc Enable security support */ template (value) AcSecPrimitive m_acEnableSecurity( in charstring p_certificate_id, in boolean p_enforceSecurity := false ) := { acEnableSecurity := { certificateId := p_certificate_id, enforceSecurity := p_enforceSecurity } } // End of template m_acEnableSecurity /** * @desc Disable security support */ template (value) AcSecPrimitive m_acDisableSecurity := { acDisableSecurity := { disable := true } } // End of template m_acDisableSecurity template AdapterControlResults m_acGnssResponseSuccess := {acGnssResponse:=true}; template (value) AdapterControlResults m_acGnssDistanceCovered := { acGnssDistanceCovered:=true }; /** * @desc Testsystem will load GNSS scenario */ template (value) AcGnssPrimitive m_loadScenario(Scenario p_scenario) := { loadScenario := { scenario := p_scenario } } /** * @desc Testsystem will start GNSS scenario */ template (value) AcGnssPrimitive m_startScenario := { startScenario := { } } /** * @desc Testsystem will stop GNSS scenario */ template (value) AcGnssPrimitive m_stopScenario := { stopScenario := { } } /** * @desc Testsystem will request indication if distance was covered */ template (value) AcGnssPrimitive m_distanceToCover(float p_distance) := { distanceToCover := { distance := p_distance } } /** * @desc Testsystem will change the speed (delta value) */ template (value) AcGnssPrimitive m_changeScenarioSpeed(SpeedValue p_deltaSpeedValue) := { changeSpeed := { deltaSpeed := p_deltaSpeedValue } } /** * @desc Testsystem will change the heading (delta value) */ template (value) AcGnssPrimitive m_changeScenarioHeading(HeadingValue p_deltaHeadingValue) := { changeHeading := { deltaHeading := p_deltaHeadingValue } } } // end taPrimitives }