Hello knudfl;
thanks for your reply ..
- the used ns2 version is "ns-2.29"
- the used MIH nist patch "ns-2.29-nist-mob-022707"
- PDF describe the work i'm trying to do "Integrate MIH with power management technique "
https://drive.google.com/file/d/0ByC...ew?usp=sharing
- the management technique include powering off the interfaces not in use in MIH while only power on the interface in use
or
- enter the un-used interface in sleep mode and wake it up through paging message from mih server
.....
search results found
1) could power on/off interface through tcl example
Quote:
$ns_ at 14.199999999999999 "$node_(26) off"
|
2) i need time in previous tcl command to be variable according to the current used technology "802.11 , 802.16 , umts"
how to do this through tcl??????
3) the other method i found is to do this through .cc file by code in #1
how to access data in tcl through .cc to make node on/off
Quote:
bsUMTS: tcl=_o30; id=1; addr=0.0.1
iface0(UMTS): tcl=_o72; id=2; addr=0.0.2
router0: tcl=_o96; id=3; addr=1.0.0
router1: tcl=_o104; id=4; addr=2.0.0
iface2: tcl=_o112; id=5; addr=2.0.2
lan created between router1 and iface2
multiFaceNode: tcl=_o218; id=7; addr=4.0.0
bstation802: tcl=_o236; id=8; addr=3.0.0
bss_id for bstation 1=6
iface1: tcl=_o264; id=9; addr=3.0.1
|
https://stackoverflow.com/questions/...-from-cc-files
couldn't make use of above url....
i read "Linkage Between OTcl and CCC in NS2" chapter in ns manual but didn't know from where to start...
Quote:
"mac/smac" sleep/wakeup cycle merely similar to my work but with multiple technology "802.11 , 802.16 , umts" instead of "802.15"
|
i really appreciate your help...
again thank you knudfl...