[Tinyos-help] Sending Packets to a Specific Address

Michael Schippling schip at santafe.edu
Tue Feb 26 21:42:13 PST 2008

Does a packet payload size of zero (the third argument)
really work for BCAST?

Ben Dilsaver wrote:
> 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
> ------------------------------------------------------------------------
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

More information about the Tinyos-help mailing list