unless there is something that passes information to the running code about what power to set, it won't work. There isn't such a mechanism defined.
the way changing the node address works is there is a well defined cell that is named in the symbol table and a tool that allows changing that cell in the executable. And any code that needs the node id then access this cell. you could do something like similar for the power. But no nothing exists that lets you do that. Its easier to just code it up and be done with it. Rather than building something more complicated. On Thu, Jun 27, 2013 at 4:43 PM, Modi, Jenis <[email protected]>wrote: > Hi All, > > I have an application's (e.g. Blink) exe and ihex files and I also have > Telosb mote. Now I want to run my application on this telosb, but also want > to set power on this mote. I know I can run any exe/ihex file on telosb > mote using : tos-bsl --telosb -c /dev/ttyUSBx -r -e -I -p main.ihex > > But how would I set power while running this application ? > > Note: I know to set flag or set in Makefile > (CFLAGS=-DCC2420_DEF_RFPOWER=13) while using make command, but I want to > achieve it with only having exe/ihex file. > > I hope I cleared the question, please let me know if still not > understandable. > > Thanks. > Jenis > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
