How do I simulate 802.15.4 with error model in ns2?
like
uniformerr {
set err_rate
...
}
$ns_ node-config -mobileIP ON \
-adhocRouting NOAH \
-llType LL \
-macType Mac/802_15_4 \
-ifqType Queue/DropTail/PriQueue \
-ifqLen 2000 \
-antType Antenna/OmniAntenna \
-propType Propagation/TwoRayGround \
-phyType Phy/WirelessPhy \
-channel $chan_ \
-topoInstance $topo \
-wiredRouting ON\
-agentTrace ON \
-routerTrace ON \
-macTrace ON
- IncomoingerrProc uniformerr
error model works in 802.11 but doesn't work in 802.15.4