XBee communication

Hi,

I have this :

Loading...

and

Loading...

and

Loading...

probably i need connect buttons to iteaduino board / shield …

I have this buttons : http://arduino.cc/en/tutorial/button

And when I push 1st button send ‘A’ to other RF XBee and this XBee handle button ID and answer A.


And when I push 4th button send ‘D’ to other RF XBee and this XBee handle button ID and answer D.
Answers must be save in txt file or xml file or same file. And this information i use for another using.

Any ideas?