I have an XBee3 router device running micropython firmware at start-up (PS=1). At start-up the firmware transmits a message to the coordinator using xbee.transmit(coord64bit, message)
The message is received by the coordinator device and processed through a python message received callback function.
So when I run the python program with the coordinator module powered and then power up the router module, it takes about 10 seconds for the auto-start micropython to send the message, message received, result.
Any way to make this go like 10x faster? any faster?
it appears to be this snippet of my micropython firmware code that takes the majority of the time:
while xbee.atcmd("AI") != 0:
time.sleep(0.01)
I tried changing the baud rate on the router AP=4 device from 9600 to 115200... I don't think it made a difference..
then I changed the above snipet of code to:
while xbee.atcmd("AI") != 0:
continue
which appears to have made it like 2 seconds faster maybe? ish.
nvm the transmission send timing varies from 5 seconds to 12 seconds so, still totally inconclusive... any ideas?
thanks
