[Tinyos-help] Sending Packets to a Specific Address

Ben Dilsaver ben.dilsaver at gmail.com
Tue Feb 26 17:09:37 PST 2008


I am fairly new to tinyos, I have recently hit a snag in some code that I
have been developing.  I am running tinyos 2.x using cygwin and my hardware
platform is the mica2dot.  I am able to send and receive using the broadcast
address of 0xFFFF just fine.  All motes in my network can see a packet with
ease using the broadcast address.  However the problem comes when I try to
target a specific node.

For example:
In this case I am trying to send to a node with TOS_NODE_ID of 0x0001
call AMSend.send(0x0001, &pkt, 0)
>From my initial observations it seems like the node with the id of 0x0001 is
not even getting the receive event.  So I guess my question is, when we send
to a specific node do we send to the TOS_NODE_ID or elsewhere?

Thanks well in advance,
-Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080226/470dbf66/attachment.html


More information about the Tinyos-help mailing list