Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [General]
- network = Adhoc
- sim-time-limit = 180s
- tkenv-plugin-path = ../../../etc/plugins
- cmdenv-express-mode = true
- #debug-on-errors = true
- #record-eventlog = true
- #eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject))
- **.constraintAreaMinX = 0m
- **.constraintAreaMinY = 0m
- **.constraintAreaMinZ = 0m
- **.constraintAreaMaxX = 3000m
- **.constraintAreaMaxY = 3000m
- **.constraintAreaMaxZ = 0m
- # mobility
- *.numHosts = 2
- **.host*.mobilityType = "CircleMobility"
- **.host*.mobility.cx = 1500m
- **.host*.mobility.cy = 1500m
- *.host[0].mobility.r = 0.1m
- *.host[1].mobility.speed = 15mps
- **.host*.ac_wlan.interfaces = "wlan0"
- #UDPBasic /UDPSink
- #cliente
- *.host[0].numUdpApps = 1
- *.host[0].udpApp[0].typename = "UDPBasicApp"
- *.host[0].udpApp[0].destAddresses = "host[1]"
- *.host[0].udpApp[0].destPort = 9001
- *.host[0].udpApp[0].messageLength = 1000B
- **.udpApp[0].startTime = 0.5s
- **.udpApp[0].sendInterval = 1ms
- #servidor
- *.host[1].numUdpApps = 1
- *.host[1].udpApp[0].typename = "UDPSink"
- *.host[1].udpApp[0].localPort = 9001
- # nic settings
- **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
- **.wlan[*].bitrate = 6Mbps
- **.wlan[*].mgmt.frameCapacity = 10
- **.wlan[*].mac.address = "auto"
- **.wlan[*].mac.maxQueueSize = 14
- **.wlan[*].mac.rtsThresholdBytes = 3000B
- **.wlan[*].mac.retryLimit = 7
- **.wlan[*].mac.cwMinData = 7
- **.wlan[*].mac.cwMinBroadcast = 31
- **.wlan[*].radio.transmitter.power = 3mW
- **.wlan[*].radio.receiver.sensitivity = -85dBm
- **.wlan[*].radio.receiver.snirThreshold = 4dB
- **.udpapp.*.vector-recording = true
- **.vector-recording = true
- [Config C1-50m]
- description = "50metros de distancia"
- *.host[1].mobility.r = 50m
- [Config C1-150m]
- description = "150metros de distancia"
- *.host[1].mobility.r = 150m
- [Config C1-300m]
- description = "300metros de distancia"
- *.host[1].mobility.r = 300m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement