Menu

lost packets

AFME
2009-11-10
2013-03-03
  • Francesco Aiello

    Hi ,
    I'm working with lucignolo-in-cs for testing AFME on SunSPOT. We have an agent that sends sensed data to the basestation with a frequence of 4 Hz. Sometimes on command prompt window we get the following errors:

    RX error: unknown packet type received: grams type=xxx

    Rx error: received rp with dest =xxx

    Rx error: unsopported dest addr mode 

    I read on SunSPOT forum that this problem happens due to loss of packets during transmission. Is It correct? Do you know how can I remove this problem?

    thanks, Francesco Aiello.

     
  • Conor

    Conor - 2009-11-10

    Hi Francesco Aiello,

    I'm not sure if this is being caused by packet loss. Check out the following thread: https://www.sunspotworld.com/forums/viewtopic.php?p=12079

    If this is being caused by packet loss, you will just need to change you code to be capable of dealing with it. Packet loss is an inevitable part of WSN development.

    hope this helps,
    Conor

     
  • Francesco Aiello

    Hi Conor,
    You're right, Packet loss is an inevitable part of WSN development. The thread's developer solved the problem using datagrams instead of readiostream but I can't tell AFME which choose.
    Francesco.

     
  • Conor

    Conor - 2009-11-17

    Hi Francesco,

    The AFME sun spot message transport service uses radiograms and the migration service uses both radiograms and radiostreams.

     

Log in to post a comment.

Auth0 Logo