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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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.
Hi Francesco,
The AFME sun spot message transport service uses radiograms and the migration service uses both radiograms and radiostreams.