[Tinyos-help] 20% Packet loss :(

Faisal Aslam aslam at informatik.uni-freiburg.de
Thu Jul 16 09:47:27 PDT 2009


Thanks. I will try that. It is a good idea to print packets that are bad 
too and see what is wrong with them.
However, still I have to find some way to fix them too.

Faisal

Guillermo De Cesco wrote:
> Hi,
>
> Ok. I had a similar problem with mica2 if the adc interrupt handler or 
> async events handler takes too many time. The observation of the 
> problem was that I had repeated bytes in the message, and the number 
> of repeated bytes aument if the handlers were longer.
> You could check if the packet loss, bad crc, is due to this 
> fenomena(repeated bytes in msg).
> Dump your msg to serial port even if crc is bad to check how the msg 
> is modified or if even received.
>
> -Bill
>
> On Thu, Jul 16, 2009 at 1:19 PM, Faisal Aslam 
> <aslam at informatik.uni-freiburg.de 
> <mailto:aslam at informatik.uni-freiburg.de>> wrote:
>
>     I know mica2 does not communicate with Telosb. They are different
>     network.
>     I only mentioned this because the application is made for many
>     different networks. I have so far mostly tested it on mica2 though.
>
>     My guess was that: some TinyOS application task is too long and
>     when the appliction is in that task then TinyOS event for
>     receiving packet does not get called.
>     Hence the packet is dropped. Is that possible?
>     I have now made tasks much smaller but still many times event for
>     receiving packet is not generated and packets are dropped.
>
>     Faisal
>
>
>     Guillermo De Cesco wrote:
>
>         Hi,
>
>         I am not sure of your problem, mica2 cant communicate with
>         telosb. In 900 Mhz I experienced
>         high packet loss due to cell phones interference, that is why
>         I change to 2.4ghz band using tmote.
>
>         -Bill
>
>
>         On Thu, Jul 16, 2009 at 10:32 AM, Faisal Aslam
>         <aslam at informatik.uni-freiburg.de
>         <mailto:aslam at informatik.uni-freiburg.de>
>         <mailto:aslam at informatik.uni-freiburg.de
>         <mailto:aslam at informatik.uni-freiburg.de>>> wrote:
>
>            Hi,
>
>            I have an application for different kinds of motes (i.e.
>         mica2, micaz,
>            telosb). A mote broadcast a packet after every 15 seconds.
>         However, we
>            have a packet loss of around 20%. The application is
>         multi-hop hence a
>            packet loss has worse effects. We have the similar packet
>         loss if we
>            test the application with only one sender and one receiver.
>         Hence
>            we do
>            not think these losses are due to collisions.
>            The sendDone is called every time with success hence we
>         also know the
>            packets are getting send successfully always.
>            I have three questions. (1) Is that normal to loss 20% of
>         packet while
>            packet broadcast even if there is one sender and one
>         receiver in a hop
>            distance. (2) What can be the reasons of packet loss with
>         only one
>            sender and receiver (3) and how can we reduce packet loss.
>
>            I will be very thankful with your reply.
>
>            best regards,
>            Faisal
>
>            _______________________________________________
>            Tinyos-help mailing list
>            Tinyos-help at millennium.berkeley.edu
>         <mailto:Tinyos-help at millennium.berkeley.edu>
>            <mailto:Tinyos-help at millennium.berkeley.edu
>         <mailto:Tinyos-help at millennium.berkeley.edu>>
>
>          
>          https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>
>         -- 
>         Ing. Guillermo De Cesco
>         Invenio Ingenieria srl.
>         tel: (54)2944 442119
>         web: www.invenioing.com <http://www.invenioing.com>
>         <http://www.invenioing.com>
>
>         Av. Pioneros 4163 Dpto 6. CP(R8402AMH)
>         San Carlos de Bariloche.
>         Rio Negro, Argentina.
>
>
>
>
>
> -- 
> Ing. Guillermo De Cesco
> Invenio Ingenieria srl.
> tel: (54)2944 442119
> web: www.invenioing.com <http://www.invenioing.com>
> Av. Pioneros 4163 Dpto 6. CP(R8402AMH)
> San Carlos de Bariloche.
> Rio Negro, Argentina.



More information about the Tinyos-help mailing list