# How many bytes can xbee.transmit method send?

**URL:** <https://forums.digi.com/t/how-many-bytes-can-xbee-transmit-method-send/22016>\
**Category:** XBee - Zigbee\
**Tags:** data, transmit, xbee\
**Created:** [November 30, 2020, 9:20am UTC](https://forums.digi.com/t/how-many-bytes-can-xbee-transmit-method-send/22016 "2020-11-30T09:20:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manos](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@manos](https://forums.digi.com/u/manos)\
**Post date:** [November 30, 2020, 9:20am UTC](https://forums.digi.com/t/how-many-bytes-can-xbee-transmit-method-send/22016/1 "2020-11-30T09:20:34Z")

</div>

Hi,

My equipment is an XBee 3 RF Zigbee module which I program using Micropython.  
I have created a (big) file full with data, which i want to wirelessly transmit, using the xbee.transmit() method.

So, I would like to ask how many bytes can the transmit method send? In other words, what is the max size of the payload passed in transmit method?  
Reminder:  
xbee.transmit(dest, payload[, source\_ep][, dest\_ep][, cluster][, profile][, bcast\_radius][, tx\_options])

Thanks in advance

---

<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 30, 2020, 10:15am UTC](https://forums.digi.com/t/how-many-bytes-can-xbee-transmit-method-send/22016/2 "2020-11-30T10:15:09Z")

</div>

Up to 255 bytes (One modbus packet).
