Thank you for the reply.

Im pretty sure how to get data:)
btw, Im using Iris mote (chip is RF230).

What Im trying to do is to measure the time to send and receive a packet,
and I want to measure these time even if a node is unable to communicate
with other nodes.

Is this the problem of hardware? or OS?
IF this is the restriction of TinyOS, can I modify it to solve this
problem?

Thank you.


Kenji


> Are you trying to get some measurements conducted by some components
> such as
> CC2420 _BUT_ you don't know how to get those data directly?
> 
> Ittipong
> 
> 2009/10/14 Raffaele Gravina <[email protected]>
> 
> > 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
> >
> 


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