[Tinyos-help] Retransmissions count

Joe Polastre joe.polastre at gmail.com
Sat Mar 5 18:07:05 PST 2005


event result_t Send.sendDone(TOS_MsgPtr msg, result_t result) {
  if (msg->ack == TRUE) {
    // ack received
  }
}


On Sun, 06 Mar 2005 02:52:37 +0100, Emiliano <emi.mi at libero.it> wrote:
> Thank you very much Joe!
> 
> So, how a protocol sitting on top of BMAC is signaled by the link layer when an Ack has been received?
> 
> again with many thanks,
> emiliano
> 
> 
> > The link protocol is not responsible for retransmissions; it tells you
> > if an ack has been received and it is up to your protocol to decide
> > whether to retry or drop the packet.
> >
> 
> >
> > On Sun, 06 Mar 2005 01:20:29 +0100, Emiliano <emi.mi at libero.it> wrote:
> > > Hello everybody,
> > >
> > > I'd like to count how many time a packet is retransmitted because has been lost. I'm using mica2 with tiny-os 1.7. I expect that, once Ack is enabled, the packet is sent again up to a maximum number of times. I'm looking inside CC1000RadioIntM to figure where the retransmission of the packet takes place if the Ack is not received but I doesn't understand completely where is the code that invokes a retransmission after an Ack failure.
> > >
> > > Is there anybody that could give me some useful suggestions??
> > >
> > > Thanks a lot,
> > > Emiliano
> > >
> > > ____________________________________________________________
> > > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
> > > Scaricalo su INTERNET GRATIS 6X http://www.libero.it
> > >
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > Tinyos-help at Millennium.Berkeley.EDU
> > > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help
> > >
> >
> 
> ____________________________________________________________
> 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
> Scaricalo su INTERNET GRATIS 6X http://www.libero.it
> 
>


More information about the Tinyos-help mailing list