sending sensor data between xbees

I am trying to complete the tutorial in ‘arduino cookbook’ chapter 14.4 - sending sensor data between xbees. unfortunately the receiving arduino never receives any data…I have followed the tutorial exactly and also tried swapping the xbees and arduino…any tips from anyone who completed this?

Which XBee modules is the book referring to and which ones do you have? Most of the books out there are written fo the XBee ZB modules and I suspect you are using the XBee 802.15.4 modules which uses a different API interface. To help narrow down the issue, I would connect the arduino to a PC and see what comes out the radios DI pin on that board to verify it is a correct packet.

Thanks for the response…problem solved. It was the switch setting on the Seed Xbee I/f module causing the problem