I have 3 modules of xbee pro s2b and I've configured one as coordinator, router and 3rd one as end-device. I managed to put end-device out of the range from coordinator but in the range of router and router is in the range of coordinator. Both router and end-device are having destination address as source address of coordinator. Now communication route is expected to be
router >>> coordinator
end-device >>> router >>> coordinator
I have carefully configured PAN ID and SC parameters and tested that router and end-device communicate to coordinator individually when in range. But as soon as I take end-device out of range from coordinator, end-device stops communication with the coordinator and does not connect to router even after waiting for some time. Coordinator AR parameter is configured with AR = 0xFE, so that I have routing table being updated and packet is routed. I restarted end-devices with turning power off/on and did wait for more than an hour but no luck. End device is not routing packet through router to coordinator. Then I configured end-device as router and repeated above process but still no luck, as device is not routing packet through router to coordinator. I understand that routing via router should be automatic but I have no luck in observing such a behavior. What am I missing?