andrewrapp / xbee-arduino

Arduino library for communicating with XBee radios in API mode
GNU General Public License v2.0
337 stars 163 forks source link

Message is seen to be delivered even tough the coordinator is unplugged. #54

Closed jonathanendersby closed 7 years ago

jonathanendersby commented 7 years ago

Once associated (S2 devices) I can reliably send Transmit Requests from my router (Arduino+XBee S2) to my coordinator (XStick USB), however, if I unplug my coordinator the Arduino continues sending packets and appears to receive positive delivery reports (5 Flashes from the S2 TX demo). (I'm not under the impression that it is actually receiving response packets, I think the code has a bug)

I have tested this extensively with XCTU and it is working perfectly there. (Throwing a delivery error when the coordinator is powered off.

My guess is that there is a bug somewhere in the code that is evaluating the responses (or lack thereof?)