how to share mac parameters in routing protocol
when i try to access macSuperframeOrder in new routing protocol, i am getting segmentation fault(core dumped). kindly tell me , how to access macSuperframeOrder in my newroutingprotcol.cc and to change the value based on some condition.
|
I'd suggest posting this in a more appropriate forum where your target audience is more likely to reply with more relevant information. Perhaps Programming or Networking. Also, it'd be worthwhile for you to post what you've tried and at what point you generate the segfault.
|
Re #2 : With probably ~2000 other ns2 postings in "Linux - Newbie", I guess it's OK here.
Re #1, @preethikrishnan : Welcome to LQ. Tcl scripts with `Mac/802_15_4' tend to do 'Segmentation fault'. * The examples in ns-2.3x/tcl/ex/wpan are working OK. A couple more of OK examples : aodv_802_15_4.tcl, beacon_enabled_star.tcl : 802.15.4-examples.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing Please read : . http://www.linuxquestions.org/linux/...Ask_a_Question . http://www.catb.org/~esr/faqs/smart-questions.html I.e. some more information is required, if you want some answers. >>> Your code is unknown, your tcl script is unknown, etc. etc. - |
hai.. Thanks for ur reply...
how to tune the macSuperframe order in cc code (Routing Protcol). #include"p802_15_4mac.h" .... struct MAC_PIB *so,s; so=&s; ... printf("superframe order=u \n", so-> macSuperframeOrder); .. kindly reply the solution.. by dynamically tuning the macSuperframe order. |
All times are GMT -5. The time now is 09:28 PM. |