AlSalamo Aliokm
Dears, 1- I wonder, how can I choose the proper value of the CBR rate? is 5.4Mb/s is fine? 2- Mac/802_11 vs Mac/802_15.4? Here is my model: ------------------------------------------------------------------------------------------- Mac/802_11 set dataRate_ 11Mb ;# 802.11 data transmission rate Mac/802_11 set basicRate_ 1Mb ;# 802.11 basic transmission rate Mac/802_11 set RTSThreshold_ 0 ;# bytes set val(chan) Channel/WirelessChannel ;# channel type set val(ant) Antenna/OmniAntenna ;# antenna type set val(propagation) Propagation/TwoRayGround ;# propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(ll) LL ;# link layer type set val(ifq) Queue/DropTail/PriQueue ;# interface queue type set val(ifqlen) 100 ;# max packet in ifq set val(mac) Mac/802_11 ;# MAC type set val(rp) AOMDV ;# routing protocol set val(n) 100.0 ;# node number set val(end) 200.0 ;# simulation time [s] set val(mobility) Static ;# mobility model set val(traffic) Node-UDP ;# data pattern set val(dataStart) 10.0 ;# data start time [s] set val(dataStop) [expr $val(end) - 10.0] ;# data stop time [s] set val(seed) 1 ;# general pseudo-random sequence generator set val(throughput) 5.4 ;# CBR rate (<= 5.4Mb/s) set cbr($src($i)) [new Application/Traffic/CBR] $cbr($src($i)) attach-agent $udp($src($i)) $cbr($src($i)) set packetSize_ 52 $cbr($src($i)) set random_ false $cbr($src($i)) set rate_ ??? Mb -- View this message in context: http://old.nabble.com/proper-WSN-CBR-rate-tp30442018p30442018.html Sent from the ns-users mailing list archive at Nabble.com.