XBee ioSample

Ok. I have:

1 xbee series 2 API mode, Coordinator 1 xbee series 2 API mode, Router-End device

RUNNING!!!! (tutorial on progress)

I'm sending the value of a analog input to the other one, and this one shows the value with pwm and a led. But now i have some questions:

What is ioSamples?

how can i send it? i have seen examples about how to receive them.

how can i know witch module have sent a packet? how can i read the address of the sender?

thank you.

FROM X-CTU: Parameter IR:

Set the IO sampling rate to enable periodic sampling. If set >0, all enabled digital IO and analog inputs will be sampled and transmitted every IR milliseconds. IO Samples are transmitted to the address specified by DH+DL.

RANGE:0-0XFFFF X 1 MS

OK. iosamples are packets sent by the x-bee module with information about its own inputs and outputs. Only useful if you use I/O of the x-bee

But i have this question yet: how can i know witch module have sent a packet? how can i read the address of the sender?

thanks