Arduino code of xbee router mode

i need hellllllllllpppppp !!!
what is the appropriate code (arduino Uno) of xbee router so he read the information coming from an end-device and send it to a coordinator ??

A router will do that automatically. That is you do not need an external processor to perform that function. That is something that is part of the XBee’s firmware and is controlled by the DL and DH fields of the XBee and the TX request packet for the modules that are in API mode.