Home/Support/Support Forum/digimesh packet loss

digimesh packet loss

0 votes
Hello
i'm developing a temperature sensor network based on digimesh protocol, the xbee is connected via serial port to a PIC, at every wake cycle the PIC sends a packet with the temp, the voltage and the SL of the xbee, eg. 22,3;4,10;40BEB186

The problem is at the coordinator side: altrough i can reach all the nodes of the network (20 at the moment) with XCTU, if i open a serial terminal i can read only 8\10 packets at every wake cycle. The transmitting nodes are random, the same node sometimes transmits the packet, sometimes not.
I'm using AT mode

I've changed the RO value to FF and tryed various baud rates without success... the other AT values are the default ones...what can i check?
asked Nov 12, 2014 in DigiMesh Proprietary Mesh Networking by vicu New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
Sounds like you are using sleep modes. If this is the case, try increasing the time before sleep value. By doing so, you will allow more modules to transmit the data.
answered Nov 12, 2014 by mvut Veteran of the Digi Community (11,298 points)
DH and DL are at default values 0 and FFFF
Restore them back to defaults (ATRE) and if you want to change something, only change the DL and DH addresses so that they point at each other.  But nothing else and then try it.
I have tryed resetting all back to defaults, but the results are the same.
The nodes of the mesh network sends the packet in a random manner, in a wake cycle some nodes sends other not...i have implemented cts, the pic sends the packet over the serial only when cts is low.
the packet is a text string: aa.aa;bb.bb;ccccccccCARRIAGERETURN(0x0D)

i think the only thing i can try is raise the baud rate at 57600 and see i that changes something...
tryed everything, i think i have found the problem:
the packet is breaked, i receive a first packet with a part of the string except the last character, and a second packet with only the last character.
the packet itself is 33bytes long...even if i send a small packet i receive always a breaked transmission..any suggestion?
Try taking the radios out of the picture and just cable it up to get it working. When you do this, use a scope to very what you want to send is what is really being sent.
...