Home/Support/Support Forum/Latency with ConnectPortX2 ans XBee Pro

Latency with ConnectPortX2 ans XBee Pro

0 votes
Hi,

I have a project with connectportX2 and XBee pro.

I use a Python software for made a gateway between an UDP Socket and ZB.

It is working but in some case the response time is about 4 or 5 seconds !
Normal reply is about 100ms.

Is the CP-X2 made some background works ?
Is it route calculation ?
It's difficult to me to find why !

Can somebody help me ?

Thanks, Philippe.
asked Sep 21, 2015 in XBee Programmable Development by GPh New to the Community (1 point)

Please log in or register to answer this question.

2 Answers

0 votes
Philippe,

That 4 - 5 second wait sounds like you are sending a Broadcast packet or a few broadcast packets over the Xbee ZB network. Is that the case? If so, the only way to reduce the time is to send Unicast messages. The delay you are seeing on a broadcast is a required delay by the zigbee network to allow for propagation of the data.
answered Sep 21, 2015 by mvut Veteran of the Digi Community (13,094 points)
0 votes
Hi,

Thanks for reply.

Yes, i use broadcast.
But it's not all the time, approximately1 time every 10.

I'll try to use unicast, but seem's difficult to learn how XBee is present.
answered Sep 22, 2015 by GPh New to the Community (1 point)
I made P2P addressing and it is working well.
Thanks.
...