Closed GoogleCodeExporter closed 8 years ago
Ctp-castalia will not work on Castalia 3.2 due to some changes. An updated
version already exist but has not been tested. It will be available by the end
of October (sorry but I have my phd defense before :) ). Until that date please
switch to Castalia 3.1 (check issue 1 before) or Castalia 3.0.
Original comment by ucolesa...@gmail.com
on 29 Sep 2011 at 3:25
Original comment by ucolesa...@gmail.com
on 29 Sep 2011 at 3:35
Dear sir,
Thanks for your replay, and hope to be always in contact with us to benefit of
your experience.
hope you best always.
Original comment by jordan.j...@yahoo.com
on 4 Oct 2011 at 10:34
Ok here's what you need to do to get the released CTP code to work with
Castalia 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() method
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->getNetMacInfoExchange().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()
Original comment by bou...@gmail.com
on 18 Oct 2011 at 10:29
Please check the new CtpCastalia-beta-1.1 release in the download section. Now
it supports Castalia 3.2.
Original comment by ucolesa...@gmail.com
on 4 Jan 2012 at 1:44
Original issue reported on code.google.com by
jordan.j...@yahoo.com
on 21 Sep 2011 at 4:48