# What is max time taken by Xbee S2 to send a packet of 24bytes with 115200 baud rate?

**URL:** <https://forums.digi.com/t/what-is-max-time-taken-by-xbee-s2-to-send-a-packet-of-24bytes-with-115200-baud-rate/19152>\
**Category:** Digi TransPort WR (Series)\
**Tags:** xbee-api-mode, s2c, xbee-coordinator-rou, xbee\
**Created:** [February 15, 2018, 2:42pm UTC](https://forums.digi.com/t/what-is-max-time-taken-by-xbee-s2-to-send-a-packet-of-24bytes-with-115200-baud-rate/19152 "2018-02-15T14:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nini](https://avatars.discourse-cdn.com/v4/letter/n/b487fb/32.png) [@Nini](https://forums.digi.com/u/Nini)\
**Post date:** [February 15, 2018, 2:42pm UTC](https://forums.digi.com/t/what-is-max-time-taken-by-xbee-s2-to-send-a-packet-of-24bytes-with-115200-baud-rate/19152/1 "2018-02-15T14:42:29Z")

</div>

I want to send 24bytes of data within a milli seconds( 4 pkts/ms) for my project.But it takes 4 ms/per packet for my project.How to optmize it.Am

Model: Xbee S2C  
Protocol: Xbee  
No of Xbees - 2  
End point - 1  
Co - Ordinator - 1  
Both are in API mode  
Baud rate - 115200  
Controller in end Point - arduino nano  
Controller in Co-Ordinator - Raspberry Pi
