[ns] How to get number of Base stations and their addresses
Spyros Marinis
spyros_mar at yahoo.gr
Sat Feb 21 03:37:19 PST 2009
Hi everybody!!
I am in a great hurry, so if anybody knows, please answer me!! It is very important!
How can I get from my c++ source code the number of base stations that are defined in the tcl script? Can I also get their address or node_id?
I am using the wired-cum-wireless topology with hierarchical addresses, and in the tcl I have defined:
set num_bs_nodes 2
and then set up the base stations like:
$MN base-station [AddrParams addr2id [$BS_wlan1 node-addr]] ;#attach mn to basestation
Any help will be appreciated,
Thanks in advance,
Spyros
___________________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
More information about the Ns-users
mailing list