xbee series2 communication between coordinator and enddevice in api mode

Please send answer, because i am trying so many ways.But the data is lost in enddevice. The enddevice is transmitted to the coordinator, the data is not send all time. Please any driver for pic microcontroller using ccs c compiler. end device send data in 4 times, the coordinator receives 1 time or not receive.

Are you implementing and using hardware flow control on your End device?

Are you keeping the End device awake long enough to send the data to the parent router and waiting for the poll response before sending the next packet?

Remember that all communications from the End device is in a Polled configuration and the parent router can only hold the smaller of either two indirect messages or 100 bytes with in its buffers.