Hi All,
There is only one interface in my simulation network, I want to
switch some nodes frequency to another channel with new center frequency in
C++, my code snippet is like this:
Tcl& tcl = Tcl::instance();
tcl.evalf("$opt(netif) set freq_ %f",v[i].mid_freq);
if(tcl.result() != TCL_OK)
cout << "set freq error!" << endl;
Here the variable $opt(netif) is defined in my .tcl file, and the
result is print out "set freq error!", So How to set node frequency in C++
? any suggestions is appreciated.
--
Su Jinzhao(苏金钊)