You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several routing protocols developed by 3rd parties that would be great to integrate them in the main Castalia distribution in Github either as branches, or even in the master branch.
The newest CTP distribution (released 2012) works with Castalia 3.2. In case I encounter some problems here's what I commented in the forum:
Here's what you need to do to get the released CTP code to work with 3.2 (or the upcoming 3.3)
in CtpTestingApplication.cc and CtpTestingApplication.h
replace ApplicationGenericDataPacket with ApplicationPacket
in CtpTestingApplication.cc
comment out the whole update_packets_received() method
delete declareOutput("My Stats", SN) ; from the update_ddr_perSN() mehtod
and put declareOutput("My Stats") ; at the startup() method
in mac/cc2420Mac/CC2420Mac.cc
replace instances of getRoutingInteractionControl() with getNetMacInfoExchange()
replace getMacInteractionControl() with getMacRadioInfoExchange()
swap RSSI with LQI in the right hand side of the assignments (little bug in the original code)
Optional, depends on platform (I had to do it for my Mac OSX)
in mac/cc2420Mac/TosEnvironment.h AND in routing/ctpNoe/components/TosEnvironment.h:79
line 79 replace 0x100000000 with 0xffffffff
in routing/ctpNoe/components/CtpForwardingEngine.cc
replace line 1080 netPkt->getRoutingInteractionControl().source = selfAddress.c_str() ; // ok
with netPkt->setSource(selfAddress.c_str()) ; // ok
replace instances of getRoutingInteractionControl() with getNetMacInfoExchange() (lines 213, 1053, 1081)
in routing/ctpNoe/components/CtpRoutingEngine.cc AND routing/ctpNoe/components/DualBuffer.cc AND routing/ctpNoe/components/LinkEstimator.cc
replace instances of getRoutingInteractionControl() with getNetMacInfoExchange()
The text was updated successfully, but these errors were encountered:
There are several routing protocols developed by 3rd parties that would be great to integrate them in the main Castalia distribution in Github either as branches, or even in the master branch.
CTP developed by Ugo Colesanti & Silvia Santini
https://code.google.com/archive/p/ctp-castalia/
AODV, LEACH, REL, LABILE developed at gercom found here:
http://www.gercom.ufpa.br/index.php?option=com_osdownloads&view=downloads&Itemid=346
The newest CTP distribution (released 2012) works with Castalia 3.2. In case I encounter some problems here's what I commented in the forum:
Here's what you need to do to get the released CTP code to work with 3.2 (or the upcoming 3.3)
in CtpTestingApplication.cc and CtpTestingApplication.h
in CtpTestingApplication.cc
and put declareOutput("My Stats") ; at the startup() method
in mac/cc2420Mac/CC2420Mac.cc
Optional, depends on platform (I had to do it for my Mac OSX)
in mac/cc2420Mac/TosEnvironment.h AND in routing/ctpNoe/components/TosEnvironment.h:79
in routing/ctpNoe/components/CtpForwardingEngine.cc
with netPkt->setSource(selfAddress.c_str()) ; // ok
in routing/ctpNoe/components/CtpRoutingEngine.cc AND routing/ctpNoe/components/DualBuffer.cc AND routing/ctpNoe/components/LinkEstimator.cc
The text was updated successfully, but these errors were encountered: