Transmit a message (ex. “Hello”) from router to coordinator works on first transmit() but fails (bricks?) on next and thereafter transmit().
Setup: xb3-24z modules (1 coord and 1 router), FW 100D or 1013 (used same FW version on both modules when testing them), uPy code flashed into modules via XCTU, Transparent mode, 2 PC’s (one for each module so can run XTCU for diagnostics), antenna’s attached and modules physical distance apart is a couple feet.
Coordinator uPy code - create network (until AI=0) then infinite loop waiting for router data to transfer to coordinators serial terminal (TeraTerm, XCTU).
Router uPy code - associate to network then transmit() ‘Hello’ in infinite loop (alternative version no loop just transmit() a few times coded sequentially).
Initial Network config - CE, JV, ID, AP values as required, 115200 baud; other config settings at default.
Associated values reported - AI=0, AP=0, matching OP, matching CH, matching OI on both Coord and Router. JV, CE correct on each. MAC ACK failures = 0
uPy flash coding attempts to fix issue - time.sleep() in various ways to buy time for functions, ATRN0 in uPy on both Coord and Router in all possible variations, hard code DH/DL in router within transmit(). Since transmit() blocking, tried checking AI==0 in a loop with transmit(), besides import xbee and time in uPy code, imported other libs (modules) sys, micropython, machine, etc to try.
Network config change from default - Replace DH/DL fields (defaults 0) with modules SH/SL (MAC) on both and one module at a time as well.
Results - Exactly the same in all and every attempt listed above. First “Hello” transmitted from router and received by coordinator and sent out to PC serial terminal and thereafter nothing.
My guess is others doing the same simply test and have things working no problem and I’m missing something stupid. Ideas and help please.