omnetpp.ini 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [General]
  2. network = InstrumentShowcase
  3. sim-time-limit = 3s
  4. # TCP app
  5. *.server.numTcpApps = 1
  6. *.server.tcpApp[0].typename = "TCPSessionApp"
  7. *.server.tcpApp[*].connectAddress = "client"
  8. *.server.tcpApp[*].connectPort = 1000
  9. *.server.tcpApp[*].tOpen = 0s
  10. *.server.tcpApp[*].tSend = 0s
  11. *.server.tcpApp[*].active = true
  12. *.server.tcpApp[*].sendBytes = 1MiB
  13. *.server.tcpApp[*].localAddress = "10.0.0.2"
  14. *.server.tcpApp[*].localPort = 1000
  15. *.client.numTcpApps = 1
  16. *.client.tcpApp[0].typename = "TCPSinkApp"
  17. *.client.tcpApp[*].localAddress = "10.0.0.1"
  18. *.client.tcpApp[*].localPort = 1000
  19. *.*.tcpApp[*].tClose = 0s
  20. # WLAN
  21. *.server.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  22. *.*.wlan[*].mac.rateControlType = "AARFRateControl"
  23. #*.server.wlan[*].mac.rateControlType = "AARFRateControl"
  24. *.*.wlan[*].mac.initialRateControlRate = 54Mbps
  25. *.*.wlan[*].mac.dcf.rateControl.decreaseThreshold = 4
  26. #*.*.wlan[*].opMode = "g"
  27. # Misc settings
  28. **.backgroundNoise.power = -100dBm
  29. **.transmitter.power = 2mW
  30. **.arpType = "GlobalARP"
  31. # Mobility
  32. *.client.mobilityType = "LinearMobility"
  33. *.client.mobility.angle = 0deg
  34. *.client.mobility.constraintAreaMinX = 300m
  35. *.client.mobility.constraintAreaMaxX = 600m
  36. *.client.mobility.speed = 200mps
  37. # TODO: set mobility speed to 10th, download size to 10x, animation speed to 10x, modify progress and counter figure accordingly
  38. # TODO: video recording doesnt work in express mode
  39. # Visualizer
  40. *.server.wlan[*].radio.displayCommunicationRange = true
  41. *.visualizer.*.networkNodeVisualizer.zIndex = -1