[Tinyos-help] Single mote to mote communication: node ids

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Sun Feb 22 21:19:33 PST 2009


Hi!

On Sun, 22 Feb 2009, Joe Green wrote:

> I am using a system of two motes to run a test, and I need to make sure 
> the sender mote sends only to the receiver mote and the receiver mote 
> receives only from the sender mote. What code is there for checking the 
> node id of the sending/receiving mote?

I think the interface you are looking is the AMPacket. You can see it in 
tos/interfaces and is offered by ActiveMessageC, AMReceiverC and 
AMSenderC.

--
Razvan ME


More information about the Tinyos-help mailing list