How I can measure the LQI parameter in Xbee series two?

hello. I am sending data from a coordinator xbee to one terminal and want to know the quality of the received packet.
why I want to measure the RSSI and LQI parameters. but not how to measure these parameters? :s
can someone explain me how to do this?

You don’t. The LQI function was never fixed by Ember in the Ember ZigBee stack that is used in that product.