I think there's no way you can send something to yourself without any
"mirror" node (and, btw, why you should need that if you already have the
info you would like to receive?).The CC2420 can either receive or transmit,
but can't do both at the same time.

- raffaele

2009/10/14 <[email protected]>

> 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
>



-- 
Raffaele Gravina | Research Engineer

Wireless Sensor Networks Lab Berkeley
2000 Hearst Ave, suite 304
Berkeley, CA 94709
+1 510 666 0174 ext. 101
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to