[Tinyos-help] Deluge T2 and TOS_NODE_ID

Jamie Macbeth macbeth at cs.ucla.edu
Sun Dec 14 23:51:02 PST 2008


I'm running Tinyos-2.x from CVS on iris motes.  I'm trying run Deluge
T2, and in my application every node needs to know its ID.
Dissemination and reboot seem to work properly for all of the Deluge
connected nodes, but TOS_NODE_ID is identical for all nodes when I use
it in my app.

With some searching I felt assured that TOS_NODE_ID is being
hard-coded in the c source created in the build process
(build/iris/app.c).  So I guess that TOS_NODE_ID isn't supposed to
work with Deluge.  When I Deluge-ping nodes connected via serial they
seem to know their node ids... I assume that they are being read from
storage.  How can I  ID in tinyos applications that are disseminated
through Deluge?

Thanks,

Jamie


More information about the Tinyos-help mailing list