The mica2, mica2dot, micaz and iris motes have hardware UIDs. That is, they are equipped with an integrated circuit (DS2401) that is programmed with a unique 64-bit identifier. You can access it through the HardwareId interface implemented by the SerialId component. Of course, there is no guarantee that any 16 bits of this UID will be unique. There is a chance though that you can find a nice hash function that works for your motes, and gives unique 16-bit addresses. Once you have a unique 16-bit address, nothing prevents you from setting TOS_LOCAL_ADDRESS to this value on startup.
Janos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Henry Sent: Thursday, November 29, 2007 7:44 AM To: [email protected] Subject: [Tinyos-help] Mote mass production I need to set up a network, initially 200 motes but growing to around 1000 motes and I've been looking for an easy way to automate the process of allocation unique nodeid's to each mote. Apart from unique ID's I also need to separate motes by CC2420 channel number. Hours of googling and searching the tinyos archives have not yet yielded a solution. The set-mote-id script seems the be the best starting point as it can easily be modified to change more than just the TOS_LOCAL_ADDRESS symbol. I'd be interested to hear how others have attacked this problem. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.7 - Release Date: 11/25/2007 12:00 AM
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
