Hi,

I am using TinyOS-2.x.

I am trying to send a packet from a node to itself.
I tried
AMSend(TOS_NODE_ID, &pkt, sizeof(PKT));
but the node didn't receive anything.

I installed another mote with the same exact program, but changed sending
part to
AMSend("id of the first mote", &pkt, sizeof(PKT));
and confirmed that the first node is receiving the packet from the second
mote.
This means that the sending and receiving part is fine.

So, I think the problem is that AMSend does not send a packet to the
sending node.
Is there any way to send a packet to the sending node?
What should the first argument of the AMSend be??

Thank you in prior:)


Kenji
 

--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to