# Rx timeout on API commands parsing

**URL:** <https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537>\
**Category:** XBee - DigiMesh\
**Tags:** uart, timeout\
**Created:** [July 18, 2017, 9:30am UTC](https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537 "2017-07-18T09:30:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bremenpl](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bremenpl](https://forums.digi.com/u/bremenpl)\
**Post date:** [July 18, 2017, 9:30am UTC](https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537/1 "2017-07-18T09:30:13Z")

</div>

Hello there,  
I have a question regarding incoming (Send to the Xbee from an external MCU) data through the uart interface. If I operate in API mode with the Xbee, what is the maximum time between each sent byte before Xbee module will have a reception timeout?  
Lets say I want to send an AT command from MCU to the Xbee. Instead of sending all bytes at once, I stopped for a while (a time larger than the in between bytes time that comes from the baudrate) after 3rd byte and then wanted to continue. Will Xbee wait for the second part of the command or yeld a timeout after first part and then misunderstand the second part?  
I would appreciate all help.

---

<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:** [July 18, 2017, 9:39am UTC](https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537/2 "2017-07-18T09:39:50Z")

</div>

When using API mode, i am not aware of any timeout period being implemented. It is just a matter of when the full packet is received.

---

<div class="post-metadata">

**Author:** ![bremenpl](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bremenpl](https://forums.digi.com/u/bremenpl)\
**Post date:** [July 19, 2017, 10:15am UTC](https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537/3 "2017-07-19T10:15:22Z")

</div>

Are there no conditions in which packet transmission is interrupted/ canceled?

---

<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:** [July 19, 2017, 11:33am UTC](https://forums.digi.com/t/rx-timeout-on-api-commands-parsing/18537/4 "2017-07-19T11:33:24Z")

</div>

Just a reset or power cycle.
