AtsCAM.cfg 3.35 KB
Newer Older
garciay's avatar
garciay committed

[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
  typeOfAddress := e_initial,
  stationType := e_passengerCar,
garciay's avatar
garciay committed
  stationCountryCode := 33,
  mid := '001C6B00FF51'O
garciay's avatar
garciay committed
}

LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).

LogFile := "../logs/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
#ConsoleMask := ERROR | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime

[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# BTP Layer
#   type            : btpA|btpB
#   destination port: dst_port
#   source port     : src_port
# GN Layer
#   ll_address             : GeoNetworking address of the TestSystem
#   latitude               : latitude of the TestSystem
#   longitude              : longitude of the TestSystem
garciay's avatar
garciay committed
#   distanceA              : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
#   distanceB              : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
#   angle                  : Anglee for the GeoAreaBroadcast, used for CAM/DENM sending (default: 0m)
#   beaconing              : Set to 1 if GnLayer shall start beaconing (default: 0)
garciay's avatar
garciay committed
#   Beaconning timer expiry: expiry (ms)
# Ethernet layer
#   Source MAC address of the TestSystem : mac_src
#   Broadcast address                    : mac_bc
#   Ethernet type for ITS                : eth_type
garciay's avatar
garciay committed
# UDP layer (IP/UDP based on Pcap)
#   dst_ip  : destination IPv4 address (aa.bb.cc.dd), the IUT
garciay's avatar
garciay committed
#   dst_port: destination port
#   src_ip  : source IPv4 address (aa.bb.cc.dd), the TestSystem
garciay's avatar
garciay committed
#   src_port: source port
# Pcap layer
#   Pcap filter : filter
#   mac_src     : used to exclude TestSystem sent message from the capture
#   Online mode :
#     Local NIC : nic
#                 If set, online mode is used
garciay's avatar
garciay committed
#   Offline mode (nic is present but not set):
#     File to read    : file
#     Frame offset    : frame_offset
#     Time offset     : time_offset
#     Save sent packet: save_mode=[0|1]

garciay's avatar
garciay committed
system.camPort.params := "CAM/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
# CAM UpperTester port based on UDP (ETSI Wlan)
system.utPort.params := "UT_CAM/UDP(dst_ip=192.168.0.102,dst_port=12345,src_ip=192.168.0.104,src_port=12345)/ETH(mac_src=0800275c4959,mac_dst=F8CAB8083918,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and udp port 12345)"
garciay's avatar
garciay committed

[EXECUTE]
#ItsCam_TestCases.TC_CAM_MSD_FMT_BV_01
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_02
garciay's avatar
garciay committed

[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
KillTimer := 10.0
TCPPort := 0
LocalAddress := 127.0.0.1
TCPPort := 12000
NumHCs := 1