LibItsCommon_TypesAndValues.ttcn 1.69 KB
Newer Older
/**
 *  @author      ETSI / STF405 / STF449
 *  @version     $URL$
 *               $Id$
 *  @desc        Module containing common types and values for ITS Protocols
 *
 */
module LibItsCommon_TypesAndValues {
    
garciay's avatar
garciay committed
    // LibCommon
    import from LibCommon_DataStrings all;
    
    // LibIts
    import from ITS_Container language "ASN.1:1997" all;

    group utPrimitives {
        
        /**
garciay's avatar
garciay committed
         * @desc Upper Tester message to initialize IUT 
         * @member hashedId8 In case of secured mode set, hashedId8 indicate which certificate the IUT shall use
         */
        type record UtInitialize {
garciay's avatar
garciay committed
            Oct8 hashedId8 
        }
        
        /**
         * @desc Upper Tester result message of the initialization request 
         */
        type boolean UtInitializeResult;
        
        /**
         * @desc Upper Tester message to change the position of IUT. Values a relatives 
         */
        type record UtChangePosition {
            integer latitude,
            integer longitude,
            integer elevation
        }
        
        /**
         * @desc Upper Tester result message of change position request of IUT 
         */
        type boolean UtChangePositionResult;
        
        /**
         * @desc Upper Tester message to change the pseudonym of the DENM IUT 
         */
        type record UtChangePseudonym {
            // empty on purpose
        }
        
        /**
         * @desc Upper Tester result message of the change pseudonym request 
         */
        type boolean UtChangePseudonymResult;
    }
    with {
        encode "UpperTester"
    }
    
}
with {
    encode "LibItsCommon"
}