Hi Jenis,
We have been using COOJA with MSPsim to simulate many applications using TinyOS. I believe that at the moment MSPsim can reliability emulate TinyOS code just like it can emulate Contiki code. Successful validation of RPL using both have been reported in http://dunkels.com/adam/ko11contikirpl.pdf. We noticed some problems when running the 15.4 MAC (original tkn15.4 and our gts implementation) since the beacon and cmd type packets were not being well emulated by the CC2420 driver, but I believe that the new code has been uploaded by Joakim Eriksson and all is working. There is actually no difference between running TinyOS code or Contiki code in COOJA, so you just have to compile your code as if you were going to use it in a real mote. Then in COOJA just load the main.exe file and start doing your simulations. Best, Jose Araujo ___________________________ PhD student Department of Automatic Control KTH Royal Institute of Technology http://people.kth.se/~araujo/ https://code.google.com/p/kth-wsn/ https://code.google.com/p/kth-gisoo/ Sorry my bad. I got it working. I have to use "sky" platform instead of "elf" (I did not know what is elf ). But the wiki page should have been updated, may be very few people are using mspsim now. Is there any updated tutorial I can find to use mspsim with Tinyos applications ? On 11/01/2013 02:02 PM, Jenis Modi wrote: > Hi , > > Has anybody used mspsim with tinyos ? I saw a tinyos wiki page ( > http://tinyos.stanford.edu/tinyos-wiki/index.php/MSPSim) on it, but > when I install this version, it gives me several errors: > > make > javac -deprecation -classpath > ".:lib/jfreechart-1.0.11.jar:lib/jcommon-1.0.14.jar" > se/sics/mspsim/Main.java > ./se/sics/mspsim/ui/WindowUtils.java:36: error: unmappable character > for encoding UTF8 > * Author : Joakim Eriksson, Niclas Finne, Fredrik ?sterlind > ^ > ./se/sics/mspsim/net/HC01PacketHandler.java:49: warning: > SunGraphicsEnvironment is internal proprietary API and may be removed > in a future release import sun.java2d.SunGraphicsEnvironment.TTFilter; > ^ > ./se/sics/mspsim/net/HC01PacketHandler.java:49: warning: > SunGraphicsEnvironment is internal proprietary API and may be removed > in a future release import sun.java2d.SunGraphicsEnvironment.TTFilter; > ^ > ./se/sics/mspsim/net/HC01PacketHandler.java:49: error: cannot find > symbol import sun.java2d.SunGraphicsEnvironment.TTFilter; > ^ > symbol: class TTFilter > location: class SunGraphicsEnvironment > Note: ./se/sics/mspsim/ui/DebugUI.java uses unchecked or unsafe > operations. > Note: Recompile with -Xlint:unchecked for details. > 2 errors > 2 warnings > make: *** [se/sics/mspsim/Main.class] Error 1 > > So, I searched on these errors, and someone said that, this is older > version. So, I found this git repo ( https://github.com/mspsim/mspsim) > for it, but then if I am trying to follow wiki document for it, it > installs correctly, but does not support "elf" platform. Can anybody > help me how to use it ? > > I am using Telosb nodes with Ubuntu 12.04. > > -- > Thanks. > Jenis > > > _______________________________________________ > Tinyos-help mailing list > [email protected]<mailto:[email protected]> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he > lp -- Thanks. Jenis
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
