[Tinyos-help] about CTP
jiwen zhang
zhangjiwen029 at gmail.com
Wed Mar 12 07:30:36 PDT 2008
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/d58e93cf/attachment.htm
More information about the Tinyos-help
mailing list