Sending Data from API to AT

Hi guys,
I am stuck up with a problem. I have implemented a two way communication between Two XBees in AT Mode(1 Coordinator and 1 Router) , it works well.

But when I changed the Mode of one Xbee (i.e Co-ordinator - AT Mode and Router in API Mode). I can send the data from Coordinator to Router , but how to send data from Router to Coordinator(from API to AT Mode).

Thanks in advance.

You need to use the radios API interface and assemble a TX request packet. That TX request packet will have it in the 64 bit address for the coordinator (0’s will be fine). The data payload (IE what the actual data is to be sent out the UART) and a check sum.