
[General]
include ../WiseCastalia.ini 	# ALWAYS include the WiseCastalia.ini file

# ==============================================
# Simulation setup
# ==============================================
sim-time-limit = 200s

SN.numNodes = 2
SN.field_x = 100		# meters
SN.field_y = 100		# meters

include topology.ini

SN.coverageNode.fieldX = 100
SN.coverageNode.fieldY = 100
SN.coverageNode.numNodes = 2
SN.coverageNode.vector-recording = true

SN.wiseTerrain.gui = "opencv" # NOTE: run in console if you want to enable 'opencv' GUI
SN.wiseTerrain.gui_wait_start = true 

# ==============================================
# Resource Manager (cpu, memory, energy)
# ==============================================
### No CPU clock drift (ideal)
SN.node[**].ResourceManager.collectTraceInfo = false
SN.node[1..1].ResourceManager.initialEnergy = 4000

# ==============================================
# Sensor Manager
# ==============================================
SN.node[0..1].SensorManagerName = "CritDirectionalSensor" # Camera Node
SN.node[0].SensorManager.isSink = true
SN.node[0..1].SensorManager.sensorTypes = "multimedia"
SN.node[0..1].SensorManager.collectTraceInfo = false
SN.node[0..1].SensorManager.energyPerSample = 0.2
SN.node[0..1].SensorManager.dov = 15
SN.node[0..1].SensorManager.aov = 0.314159
SN.node[0..1].SensorManager.initialCaptureRate = 1
SN.node[0..1].SensorManager.video = "../Parameters/videoTraces/st_hall_h264"


# ==============================================
# Application 
# ==============================================
SN.node[0].Application.isSink = true
SN.node[0..1].ApplicationName = "VideoApp" #video
SN.node[0..1].Application.collectTraceInfo = true

# =======*=======================================
# Communication:  (Network Layer)
# =======*=======================================
SN.node[*].Communication.RoutingProtocolName = "BypassRouting"
SN.node[*].Communication.Routing.collectTraceInfo = true
SN.node[*].Communication.Routing.collectOutputInfo = true
SN.node[0].Communication.Routing.isSink = true
SN.node[*].Communication.Routing.maxNetFrameSize = 2500
SN.node[*].Communication.Routing.netDataFrameOverhead = 6
SN.node[*].Communication.Routing.netBufferSize = 32

# ==============================================
# Communication: MAC (Datalink Layer)
# ==============================================
SN.node[*].Communication.MACProtocolName = "TunableMAC"
SN.node[*].Communication.MAC.maxMACFrameSize = 2500
SN.node[*].Communication.MAC.macBufferSize = 32
SN.node[*].Communication.MAC.collectTraceInfo = false

# ==============================================
# Communication: Radio (Physical Layer)
# ==============================================
SN.node[*].Communication.Radio.RadioParametersFile = "../Parameters/Radio/CC2420.txt"
SN.node[*].Communication.Radio.TxOutputPower = "0dBm" #Tx_dBm 0 -1 -3 -5 -7 -10 -15 -25
SN.node[*].Communication.Radio.maxPhyFrameSize = 2500
SN.node[*].Communication.Radio.collectTraceInfo = false

# ==============================================
# Communication: Wireless Channel
# ==============================================
SN.wirelessChannel.collectTraceInfo = false
SN.wirelessChannel.onlyStaticNodes = true
