how to transmit from the coordinator api xbee to endnode/router

im using two xbee s2b one as coordinator api and other one as endnode api , i have established the transmission and reception of analog sample from end node to cordinator , now i need the end node to sent the sample data only when the coordinator asks for the smple to endnode , can any one help me out.

Thankyou

Check “Queried Sampling” section in product manual.

You need to send “IS” command to End Device through “0x17 Remote AT command” API packet frames for this.

First set the IR to 0.

Then using the 0x17 frame type from your Coordinator, issue a remote AT command to your end device with the AT command being the IS command. This will tell the End device to sample all enabled ADC lines and report that information back.