Delay in XBee S2

Hi, I’m using two Xbee S2, one as coordinator(API) and the other as router(AT). I am trying to send data form coordinator to router, (LED switch that turn on and off) but the delay is unreasonable(~10s). I have increased the baud rate to 115200 and still no change. I am using digital pin 3 on router and set to default. D3 is connected to the LED. I am using arduino UNO as my platfrom.

Try connecting the Coordinator to the PC and then XCTU. Use the Terminal function and the API explorer to help write the API frames. I think you will find that it is not an issue with the radios but with your code.