[Tinyos-help] about CTP
jiwen zhang
zhangjiwen029 at gmail.com
Wed Mar 12 07:50:59 PDT 2008
Hello all :
as we know , ACKs is on link layer , that is to say if a mote receives a
packet , it will return an ACKs to the sender. but how to ensure data
transmission in network layer ? for exaple , in a mulitihop sensor network ,
a mote receives a packet and returns the ACK. maybe it has received many
packets waiting to send and the queue is full , so it has to discard it , so
the packet may not get to Root(in CTP) . (i don't know if i say it clealy ,
in short, i want to know whether there is a route layer ACK in CTP)
how the problem is solved in CTP ?
Thank you very much!!
2008/3/12, jiwen zhang <zhangjiwen029 at gmail.com>:
>
> Hello :
> after check the application under the directory tinyos-2.x/apps/tests/cc2420/testACK,i
> finally understand how to turn on the ACK. if i want to use the ACK ,
> i must use the interface
> PacketAcknowledgements<http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/mica2dot/ihtml/tos.interfaces.PacketAcknowledgements.html>
> .
> i find in the testACK , befor send a packet, it will use the command
> requestAck<http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/mica2dot/ihtml/tos.interfaces.PacketAcknowledgements.html#requestAck>,
> i want to know if i should use requestAck<http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/mica2dot/ihtml/tos.interfaces.PacketAcknowledgements.html#requestAck> every
> time before sending.
> thank you!!!
>
>
> 2008/3/11, Omprakash Gnawali <gnawali at usc.edu>:
> >
> > On Mon, Mar 10, 2008 at 6:35 AM, jiwen zhang <zhangjiwen029 at gmail.com>
> > wrote:
> > > Hello Omprakash Gnawali :
> > > at present , my application is not started .
> > > you say in application "TestNetwork " and "MultihopOscilloscope" ,
> > the
> > > ACKs are enabled. i don't find where it enables the ACKs ? in the
> > makefile ?
> > > i can't find it . can you tell me how to enable the ACKs in an
> > application
> > > using CTP ?
> >
> > Please look for requestAck calls in CtpForwardingEngineP.nc.
> >
> > - om_p
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080312/68fc4fb2/attachment.html
More information about the Tinyos-help
mailing list