Hi Phil

Thanks for the reply. However,the set-mote-id script just generates different 
images with different node IDs, fundamentally it's still a flashing/reflashing 
mechanism. I would like to avoid it for security reasons, e.g. I don't want to 
my motes to be flashed by end users except allowing some simple configurations. 
 Is there a way around it? 

You mentioned that in tinyOS 2.x, one could modify arbitrary variables, does it 
still require reflashing? I am not up to date with 2.x development at all. 

Thanks again for the help, I really appreicate it.

-T.

-----Original Message-----
From: Philip Levis [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 1:36 AM
To: Liu, Ping (GE, Research)
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] RE: Tmote: how to config mote with unique
config info without reflashing?


On Apr 23, 2006, at 10:27 PM, Liu, Ping (GE, Research) wrote:

> Joe,
>
> Thanks for the quick reply. Mac address is one thing, there are  
> other configurations such as encryption key and so on that may  
> require unique configurations per mote, that said, any suggestions?


You can use the same basic approach, which is changing a variable in  
the binary. Take a look at the set-mote-id script. TinyOS 2.x has a  
more generic version, tos-set-symbols, which allows you to modify  
arbitrary variables. This is important in 2.x because it supports  
distinguishing a node's unique ID from its AM address, which will be  
important once nodes have multiple network interfaces. You could use  
the 2.x script, which is in tinyos-2.x/tools/tinyos/misc

Phil

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to