omnetpp-streaming.ini 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [General]
  2. #debug-on-errors = true
  3. network = Lan80211
  4. tkenv-plugin-path = ../../../etc/plugins
  5. **.constraintAreaMinX = 0m
  6. **.constraintAreaMinY = 0m
  7. **.constraintAreaMinZ = 0m
  8. **.constraintAreaMaxX = 600m
  9. **.constraintAreaMaxY = 400m
  10. **.constraintAreaMaxZ = 0m
  11. # access point
  12. **.ap.wlan[*].mac.address = "10:00:00:00:00:00"
  13. **.host*.**.mgmt.accessPointAddress = "10:00:00:00:00:00"
  14. **.mgmt.frameCapacity = 100
  15. # mobility
  16. **.host*.mobilityType = "MassMobility"
  17. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  18. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  19. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  20. **.host*.mobility.updateInterval = 100ms
  21. # udp app
  22. **.numUdpApps = 1
  23. **.host[0].udpApp[*].typename = "UDPVideoStreamSvr"
  24. **.host[0].udpApp[*].videoSize = 10MiB
  25. **.host[0].udpApp[*].localPort = 3088
  26. **.host[0].udpApp[*].sendInterval = 10ms
  27. **.host[0].udpApp[*].packetLen = 1000B
  28. **.host*.udpApp[*].typename = "UDPVideoStreamCli"
  29. **.host*.udpApp[*].serverAddress = "host[0]"
  30. **.host*.udpApp[*].localPort = 9999
  31. **.host*.udpApp[*].serverPort = 3088
  32. **.host*.udpApp[*].startTime = 0
  33. # ping app (off)
  34. **.numPingApps = 0
  35. #**.numPingApps = 1
  36. #**.pingApp[0].destAddr = "host[0]"
  37. #**.pingApp[0].printPing = true
  38. # nic settings
  39. **.wlan*.bitrate = 2Mbps
  40. **.mac.address = "auto"
  41. **.mac.maxQueueSize = 14
  42. **.mac.rtsThresholdBytes = 3000B
  43. **.wlan[*].mac.retryLimit = 7
  44. **.wlan[*].mac.cwMinData = 7
  45. **.wlan[*].mac.cwMinBroadcast = 31
  46. **.wlan[*].radio.transmitter.power = 20mW
  47. **.wlan[*].radio.transmitter.bitrate = 2Mbps
  48. **.wlan[*].radio.transmitter.headerBitLength = 100b
  49. **.wlan[*].radio.transmitter.carrierFrequency = 2.4GHz
  50. **.wlan[*].radio.transmitter.bandwidth = 2MHz
  51. **.wlan[*].radio.receiver.sensitivity = -85dBm
  52. **.wlan[*].radio.receiver.snirThreshold = 4dB
  53. # relay unit configuration
  54. **.relayUnitType = "MACRelayUnit"
  55. **.relayUnit.addressTableSize = 100
  56. **.relayUnit.agingTime = 120s
  57. **.relayUnit.bufferSize = 1MiB
  58. **.relayUnit.highWatermark = 512KiB
  59. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  60. **.relayUnit.addressTableFile = ""
  61. **.relayUnit.numCPUs = 2
  62. **.relayUnit.processingTime = 2us
  63. [Config Streaming1]
  64. description = "video stream"
  65. *.numHosts = 3
  66. [Config Streaming2] # __interactive__
  67. description = "n hosts"
  68. # leave numHosts undefined here