Hello,
I've been trying to connect two waspmotes by uploading your XBee examples of sending and recieving a and b and then connecting the XBee modules and serial monitor the a waspmote.
I also tried adding these to the main codes
uint8_t PANID[2]={0X12,0X34};
void setup()
{
// Inits the XBee 802.15.4 library
xbee802.init(XBEE_802_15_4,FREQ2_4G,NORMAL);
// Powers XBee
xbee802.ON();
if( !xbee802.error_AT ) XBee.println("ON!");
else XBee.println("Error while begining XBee");
// Chosing a channel : channel 0x0D
xbee802.setChannel(0x0D);
if( !xbee802.error_AT ) XBee.println("Channel set OK");
else XBee.println("Error while changing channel");
// Chosing a PANID : PANID=0x1234
xbee802.setPAN(PANID);
if( !xbee802.error_AT ) XBee.println("PANID set OK");
else XBee.println("Error while changing PANID");
}
but it is not working !

please help me as fast as you can.