i am referring
http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0/doc/html/tutorial/lesson11.html
Go into RadioCountToLedsC and modify the Boot.booted event to print out a
debug message when it boots, such as this:
*event void Boot.booted(){*
*call Leds.led0On();*
*dbg("Boot","Application booted. \n");*
*}*
then to apply changes *make micaz sim*
after that
preeti@ubuntu:/opt/tinyos-2.1.2/apps/RadioCountToLeds$ *python*
Python 2.7.3 (default, Sep 26 2013, 20:08:41)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> *from TOSSIM import **
*>>> t=Tossim([])*
*>>> m=t.getNode(32)*
*>>> m.bootAtTime(45654)*
*>>> import sys*
*>>> t.addChannel("Boot",sys.stdout)*
*>>> *
*it doesnt give output "1" to show successful channel creation..*
>>> t.runNextEvent()
True
it doent give result like DEBUG (32) : Application Booted.
what i'm missing ? cant figure out please help..
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help