ItsAutoInterop_TestSystem.ttcn 1.73 KB
Newer Older
module ItsAutoInterop_TestSystem { 
    
    // Libcommon
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
    
    // LibItsCommon
    import from LibItsExternal_TypesAndValues all;
    
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TypesAndValues all;
    import from LibItsGeoNetworking_TestSystem all;
    
    // ItsAutoInterop
    import from ItsAutoInterop_TypesAndValues all;
    
    /**
     * @desc ITS System Adapter
     */
    type component ItsAutoInteropGeoNetworkingSystem extends ItsGeoNetworkingSystem {
        
        port HmiPort hmiPort
        
    } // End of component ItsAutoInteropGeoNetworkingSystem
    
    /**
     * @desc Test component for ITS Network and Transport layer
     */
    type component ItsAutoInteropGeonetworking extends ItsGeoNetworking { 
        port EutGeoNetworkingPort eutGeoNetworkingPort;
        port HmiPort hmiPort
    } // End of component ItsAutoInteropGeonetworking
    
    type port EutGeoNetworkingPort message {
        inout EutGeoNetworking
    } with {
        extension "internal"
    }
    
    /**
     * @desc Inter EUT component communication
     */
    type record EutGeoNetworking {
        GeoNetworkingPdu    msg,
        MacAddress          macDestinationAddress,
        Bit256              ssp optional,
        UInt32              its_aid optional
    } with {
        encode "RAW";
        variant ""
    } // End of type EutGeoNetworking
    
    group hmiPrimitives {
        
        type port HmiPort message {
            in HmiInitializeResult, HmiNeighborEventInd, HmiSignageEventInd;
            out HmiInitialise
        }
        
    } // End of group hmiPrimitives
    
} // End of module ItsAutoInterop_TestSystem