[Tinyos-help] Unicast in T2

Yang Bofu yangbofu at gmail.com
Mon Oct 22 00:45:05 PDT 2007


Hi,

I still have the question about unicast in T2 (thank Michael
Schippling for your info). I have searched the archive, but can't find
the answer I need. so I post the question again.

I am trying to do a unicast by AMSend in my application. What I did is
call AMSend.send(nodeID, &packet, sizeof(...)). However, it turns out
that the node is still broadcasting.

For example, I got three nodes, node 0 as sink and node 1 & 2 as sensor
node. If I let node 1 call AMSend.send(2, &packet, sizeof(...)), where
the sink shouldn't receive anything, but the sink can still get every
packet from node 1. Why is that?

If it is because AMSend don't do ID filtering or other reasons, then
HOW can I do unicast through AMSend?

Thanks in advance !

Bofu


More information about the Tinyos-help mailing list