This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Router not forwarding messages

The setup: 1 coordinator, 1 router, 1 gateway

Z-Stack v 2.5.0 for CC2530, NV_RESTORE and NV_INIT set for coordinator build only, random PAN ID selection, SECURE=1

 

If the end device joins to the coordinator I can send a message normally (I am calling AF_DataRequest with a destination of short address 0x0000).

If the end device joins to the router, the router receives the message, but does not forward it to the coordinator.  Instead, I get the usual message received callback at my router application layer, and my code acts upon it as it the message was intended for the router.

The router can send messages to the coordinator, so they are part of the same network.  I am not using any device binding or matching in my network; end devices simply send all messages to 0x0000 (coordinator).

I have the RTR_NWK compile option defined in the unmodified router config file.

Any idea what I am doing wrong?

 

Thanks,

Jimbo