# Iam Getting a constant delay of 6sec after my XBee is connected to mission planner

**URL:** <https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260>\
**Category:** XBee & XBee Gateway\
**Tags:** transmitter, xbee\
**Created:** [October 17, 2022, 12:16pm UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260 "2022-10-17T12:16:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BinduSubramanyam](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@BinduSubramanyam](https://forums.digi.com/u/BinduSubramanyam)\
**Post date:** [October 17, 2022, 12:16pm UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/1 "2022-10-17T12:16:41Z")

</div>

Hello,

Iam using XBee SX 868 for communicating between my drone and transmitter.  
I Have coordinator connected to laptop and router connected to my drone.  
i got the communication 6sec delay.  
when i change mode stability to Alt hold to Land i got 6sec delay  
When i give Throtle i get 6 sec delay.  
Can you say ASAP why it is happening and how to rectify it. Do i need to change any values in Xctu or something else.  
Baurd rate 57600.

Thanking you,  
Bindhu

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 18, 2022, 7:20am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/2 "2022-10-18T07:20:55Z")

</div>

I would suggest setting the DL and DH values of both radios to match the SL and Sh of the other. I would also suggest setting the TO command to 0x40.

---

<div class="post-metadata">

**Author:** ![BinduSubramanyam](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@BinduSubramanyam](https://forums.digi.com/u/BinduSubramanyam)\
**Post date:** [October 19, 2022, 7:09am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/3 "2022-10-19T07:09:03Z")

</div>

Hello Sir,  
Thanks for the response,  
But i have gave all those parameters before itself.  
Even after i gave these parameters the delay is showing 6sec.  
Thankyou,  
bindhu.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 19, 2022, 7:14am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/4 "2022-10-19T07:14:21Z")

</div>

What is the CM you are using?

---

<div class="post-metadata">

**Author:** ![BinduSubramanyam](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@BinduSubramanyam](https://forums.digi.com/u/BinduSubramanyam)\
**Post date:** [October 25, 2022, 8:07am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/5 "2022-10-25T08:07:38Z")

</div>

Hello sir,  
CM is channel mask i kept it default. The CM Iam using is 3EFFFDFF  
My BR RF\_Data rate is 80kbps[1]  
Thank you,  
Bindu.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 25, 2022, 8:12am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/6 "2022-10-25T08:12:26Z")

</div>

What I would suggest is removing the radios from the device and running a range test. Do you see the same delay from the radios when doing the range test? If not, then it is not the radios causing it.

---

<div class="post-metadata">

**Author:** ![BinduSubramanyam](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@BinduSubramanyam](https://forums.digi.com/u/BinduSubramanyam)\
**Post date:** [November 17, 2022, 8:18am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/7 "2022-11-17T08:18:11Z")

</div>

Hello sir,  
As you suggested i had tested the devices. i observed the same delay.

```
                    Coordinator Router

```

BD Baud Rate 57600[6] 57600 [6]  
D2 DIO2/AD2 Digital Input [3] Digital Out, Low [4]  
D6 DIO6/RTS Disable [0] RTS flow control [1]  
D7 DIO7/CTS Digital Input [3] CTS flow control [1]  
IR Sample Rate 2000 0  
P2 DIO12 Disable [0] Digital Out, Low [4]  
IC DIO Change Detect 4 8  
TO Transmit Options 40 40

can you suggest me which parameter gives delay.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 17, 2022, 8:21am UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/8 "2022-11-17T08:21:22Z")

</div>

What is the SP, SM, ST and SO vales set to?

---

<div class="post-metadata">

**Author:** ![BinduSubramanyam](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@BinduSubramanyam](https://forums.digi.com/u/BinduSubramanyam)\
**Post date:** [November 23, 2022, 12:59pm UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/9 "2022-11-23T12:59:04Z")

</div>

Hello sir,  
I apologize for late reply. I never changes these parameters these are the values in both coordinator and router  
sp-sleep time 190  
sm-sleep mode normal(0)  
st-wake time 1F40  
so-sleep options 2  
My question is is there any parameters that initiate’s delay in the module  
Thankyou  
Bindu.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 23, 2022, 1:06pm UTC](https://forums.digi.com/t/iam-getting-a-constant-delay-of-6sec-after-my-xbee-is-connected-to-mission-planner/23260/10 "2022-11-23T13:06:06Z")

</div>

I am not seeing anything on the radio that would cause it. I would suggest removing the radios out of the picture and run a wire between the two and see if you have the same delay or not.
