Trace the names back to their source in the code. I think they are both #defines which reference ROM locations which get fiddled-with just before a program download is done (look at the sequence of commands that get run during a download...I forget the name of the one that does the fiddling).
I would guess (if my previous guess is correct) that you could redefine these values to be in RAM so they could be reset. But then you will need to save the user's preferred IDs in EEPROM so you can restore them on each boot. There are also ways to set program flash ROM programatically (which is how the download works to start with), but I haven't looked into the process and I don't know if it's possible to access just one or two bytes independently. MS David Conde wrote: > Hi, > > > > Is there any way to change either Node Addr or Group Addr in > programatically way? > > > > My problem is that I would like to provide Telosb motes with a firmware > already installed to the end users (who are not TinyOS developers and do > not know anything about TinyOS), and They maybe could be using other > motes which could have the same Node Addr as I set for my the Telosb > motes, so, There would be a problem because it would exist two motes > with the same node addr. > > > > I would like allowing the End user to change this Node Addr in easy way, > I mean, the End User should not have the Cygwin or TinyOS environment to > do that, I thought to do that via RF or plug-in the mote in USB conector > in some way. Is there any solution or any work around about this? > > > > > > Thank you in advance > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
