Home/Support/Support Forum/Data getting merged on console log of XCTU

Data getting merged on console log of XCTU

0 votes
I was trying to use 3 XBee's in star topology wherein 2 are used as routers and 1 is used as a co-ordinator. I was trying to push data packets through the 2 routers using Arduino Uno to the coordinator XBee. I am observing that the 2 data packets are getting merged on the console log of XCTU even after varying the delay numerous times. It would be grateful if someone could guide me to print the data in a systematic order or share some resource to resolve this issue.
I am using the XBee Pro S2C model.
asked Mar 4 in IEEE 802.15.4 by Nish New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
If you want the data to show up on different lines, then you need to either send a line feed or Carriage return or use a different application in which can detect the gaps in data.
answered Mar 4 by mvut Veteran of the Digi Community (14,578 points)
The expected output:
100
200
100
200
100
200
100 and so on in the same fixed pattern

But the values which i am getting are quite random :
200
100
100
200
200
200
200
100
200
200
100
100 and so on
I sent the value 100 from one of the xbee router and 200 from the other and hoping to get them in a sequence where data of one Xbee is followed immediately by the data from the second Xbee
I am using the delay function+ println()  to get the data from the 2 xbee's (router) on different lines, but it is not working out. But instead it is getting merged and not coming as per the delay set by me.
You really can't control when the data arrives on a mesh network. You would have to poll the data first from each node and not move on to the next one till you receive the requested data.
...