I think you want to use the TOS_LOCAL_ADDRESS define to get the Mote ID.

The GenericComm.ReceiveMsg and SendMsg interface should be the easiest
to start out with. See apps/OscilloscopeRF for an example of their use

MS

Jason Hemann wrote:
I am having a couple of issues on a proof-of-concept first program under Tinyos 1.x, and was hoping someone could point me in the right direction.

I need a way to access each node's unique ID (which I believe they have). Is there an interface already build that gives this functionality, and if so, what is it?

Also, in a very basic, just testing it out program, which of the already provided interfaces should I implement to send and receive messages. I see in the list provided, for example Send SendData, and SendMsg, and Receive and ReceiveMsg, and am not sure with which to start.

Any help would be greatly appreciated,
Jason




Jason Hemann
One Trinity Place # 663
San Antonio, Texas 78212
713 702 7524

------------------------------------------------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls <http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> to the US (and 30+ countries) for 2ยข/min or less.


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to