Error message

12 views
Skip to first unread message

saleh...@gmail.com

unread,
Sep 18, 2014, 7:46:12 AM9/18/14
to ns-3-...@googlegroups.com
hello everybody
when I am trying to set some configurations :
Config::SetDefault ("ns3::WifiMacQueue::SetMaxDelay",TimeValue(NanoSeconds (1000)));

it gives me an error which is : 


msg="Could not set default value for ns3::WifiMacQueue::SetMaxDelay", file=../src/core/model/config.cc, line=672
terminate called without an active exception

can you help me ??????

Konstantinos

unread,
Sep 18, 2014, 8:33:29 AM9/18/14
to ns-3-...@googlegroups.com
Hi,

Please consider reading the ns-3 documentation more carefully. 
The SetDefault requires the path to a class attribute, not to a method! 

Also check the correct path to the WifiMacQueue in the API
Reply all
Reply to author
Forward
0 new messages