Fwd: [Tinyos-help] Permanently change group ID

Kevin Klues klueska at gmail.com
Mon Mar 3 11:51:59 PST 2008


Yeah, take a look at using the ConfigStorage interface

 http://www.tinyos.net/tinyos-2.x/doc/html/tep103.html

 Kevin


 On Mon, Mar 3, 2008 at 9:46 AM, Eric Keller <eekeller at psu.edu> wrote:
 > Tutorial 7 talks about using the permanent storage on a mote.  If your motes
 >  have that, you should be able to store your mote ID there.
 >  Eric
 >
 >
 >
 >
 >  On Mon, Mar 3, 2008 at 12:32 PM, Shaun Lawrence
<slawrence at invocon.com> wrote:
 >  > Right,
 >  >
 >  >  I guess I needed to describe what I am looking for a little bit
clearer. I
 >  >  know how to change the Group ID on compile time (ie
 >  >  DEFAULT_LOCAL_GROUP=0x22) and how to change it when the mote is
running as I
 >  >  said before.
 >  >
 >  >  What I am looking for is to change the Group ID when the mote
is powered and
 >  >  booted and have it keep that ID after it goes through a hard reset
 >  >  (batteries replaced).
 >  >
 >  >  -Shaun
 >  >
 >  >
 >  >
 >  >  -----Original Message-----
 >  >  From: tinyos-help-bounces at millennium.berkeley.edu
 >  >  [mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Eric
 >  >  Keller
 >  >  Sent: Monday, March 03, 2008 11:26 AM
 >  >  To: tinyos-help at millennium.berkeley.edu
 >  >  Subject: Re: [Tinyos-help] Permanently change group ID
 >  >
 >  >  GroupID is set in /opt/tinyos-1.x/tools/make/Makedefaults or
 >  >  /opt/tinyos-2.x/support/make/Makedefaults.
 >  >  Eric
 >  >  On Mon, Mar 3, 2008 at 10:59 AM, Shaun Lawrence <slawrence at invocon.com>
 >  >  wrote:
 >  >  >
 >  >  >
 >  >  >
 >  >  > Hopefully this is a quick question:
 >  >  >
 >  >  > I am able to change the Group ID during compile and change the Group ID
 >  >  over
 >  >  > a UART command by invoking ActiveMessageAddress.setAddress.
However, that
 >  >  > does not permanently change the Group ID; only during that runtime. Is
 >  >  there
 >  >  > a way to permanently change it?
 >  >  >
 >  >  >
 >  >  > Thanks,
 >  >  >
 >  >  > Shaun
 >  >  >
 >  >  >
 >  >  > _______________________________________________
 >  >  >  Tinyos-help mailing list
 >  >  >  Tinyos-help at millennium.berkeley.edu
 >  >  >  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 >  >  >
 >  >  _______________________________________________
 >  >  Tinyos-help mailing list
 >  >  Tinyos-help at millennium.berkeley.edu
 >  >  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 >  >
 >  >
 >  >  _______________________________________________
 >  >  Tinyos-help mailing list
 >  >  Tinyos-help at millennium.berkeley.edu
 >  >  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 >  >
 >  _______________________________________________
 >  Tinyos-help mailing list
 >  Tinyos-help at millennium.berkeley.edu
 >  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 >



 --
 ~Kevin



-- 
~Kevin


More information about the Tinyos-help mailing list