Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. [General]
  2. network = Adhoc
  3. sim-time-limit = 180s
  4. tkenv-plugin-path = ../../../etc/plugins
  5. cmdenv-express-mode = true
  6.  
  7. #debug-on-errors = true
  8. #record-eventlog = true
  9. #eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject))
  10. **.constraintAreaMinX = 0m
  11. **.constraintAreaMinY = 0m
  12. **.constraintAreaMinZ = 0m
  13. **.constraintAreaMaxX = 3000m
  14. **.constraintAreaMaxY = 3000m
  15. **.constraintAreaMaxZ = 0m
  16.  
  17.  
  18. # mobility
  19.  
  20. *.numHosts = 2
  21.  
  22. **.host*.mobilityType = "CircleMobility"
  23. **.host*.mobility.cx = 1500m
  24. **.host*.mobility.cy = 1500m
  25.  
  26. *.host[0].mobility.r = 0.1m
  27. *.host[1].mobility.speed = 15mps
  28.  
  29.  
  30.  
  31. **.host*.ac_wlan.interfaces = "wlan0"
  32.  
  33.  
  34.  
  35.  
  36. #UDPBasic /UDPSink
  37. #cliente
  38. *.host[0].numUdpApps = 1
  39. *.host[0].udpApp[0].typename = "UDPBasicApp"
  40. *.host[0].udpApp[0].destAddresses = "host[1]"
  41. *.host[0].udpApp[0].destPort = 9001
  42. *.host[0].udpApp[0].messageLength = 1000B
  43. **.udpApp[0].startTime = 0.5s
  44. **.udpApp[0].sendInterval = 1ms
  45.  
  46.  
  47.  
  48. #servidor
  49. *.host[1].numUdpApps = 1
  50. *.host[1].udpApp[0].typename = "UDPSink"
  51. *.host[1].udpApp[0].localPort = 9001
  52.  
  53. # nic settings
  54. **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  55. **.wlan[*].bitrate = 6Mbps
  56.  
  57. **.wlan[*].mgmt.frameCapacity = 10
  58. **.wlan[*].mac.address = "auto"
  59. **.wlan[*].mac.maxQueueSize = 14
  60. **.wlan[*].mac.rtsThresholdBytes = 3000B
  61. **.wlan[*].mac.retryLimit = 7
  62. **.wlan[*].mac.cwMinData = 7
  63. **.wlan[*].mac.cwMinBroadcast = 31
  64.  
  65. **.wlan[*].radio.transmitter.power = 3mW
  66. **.wlan[*].radio.receiver.sensitivity = -85dBm
  67. **.wlan[*].radio.receiver.snirThreshold = 4dB
  68.  
  69. **.udpapp.*.vector-recording = true
  70. **.vector-recording = true
  71.  
  72. [Config C1-50m]
  73. description = "50metros de distancia"
  74. *.host[1].mobility.r = 50m
  75.  
  76.  
  77.  
  78.  
  79. [Config C1-150m]
  80. description = "150metros de distancia"
  81. *.host[1].mobility.r = 150m
  82.  
  83.  
  84. [Config C1-300m]
  85. description = "300metros de distancia"
  86. *.host[1].mobility.r = 300m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement