How many data can the transmit method send?
Posted: Fri Nov 27, 2020 8:04 am
Hey,
Being a noob in Micropython and the Xbee 3 RF Zigbee module I have, I have faced the following problem:
While trying to transmit wirelessly some data/message from one xbee to another one (using the xbee.transmit method), I noticed that depending on the size of the message, an error might be raised. If I recall correctly it was an error of type EAGAIN.
My guess that the fault was the size of the message, is based on the fact that if I send a long string (like a whole sentence) I get the error, whilst if I send a simple "hello" the message is transmitted successfully!
So, is there a way to know what is the max size of the message-payload that I can pass as an argument in the xbee.transmit() method?
Thanks in advance!
Being a noob in Micropython and the Xbee 3 RF Zigbee module I have, I have faced the following problem:
While trying to transmit wirelessly some data/message from one xbee to another one (using the xbee.transmit method), I noticed that depending on the size of the message, an error might be raised. If I recall correctly it was an error of type EAGAIN.
My guess that the fault was the size of the message, is based on the fact that if I send a long string (like a whole sentence) I get the error, whilst if I send a simple "hello" the message is transmitted successfully!
So, is there a way to know what is the max size of the message-payload that I can pass as an argument in the xbee.transmit() method?
Thanks in advance!