Cannot read data in arduino.

Hi,

i am using two xbee one(Series 2) works as co-ordinator API and the other works as (Series 2 Pro) router Api, the router is connected to a wasp mote plug and sense which sends data packets to the co-ordinator, the problem is i get the data in the xbee and i can see it in the x-xtu software, but couldnt read the data in arduino.

i left both the xbee at a pan ID of 0, and set the destination as 0 and FFFF, i use both at a baud rate of 115200, can you tel me what could be the problem.

This is my Arduino code:
#include
#include

XBee xbee = XBee();
XBeeResponse response = XBeeResponse();

// create reusable response objects for responses we expect to handle
Rx64Response rx64 = Rx64Response();

uint8_t option = 0;
uint8_t* data = NULL;
uint8_t* rawData = NULL;

void setup() {

// start serial

Serial1.begin(115200);
xbee.setSerial(Serial1);

Serial.println(“Arduino. Wait for packets.”);

}

// continuously reads packets, looking for RX16 or RX64
void loop() {

Serial.print(".");

Xbee.readPacket();

if (xbee.getResponse().isAvailable()) {
  // got something
  
  if (xbee.getResponse().getApiId() == RX_64_RESPONSE) {
    // got a rx packet
    Serial.println("");
    Serial.println("RECEIVED");
    xbee.getResponse().getRx64Response(rx64);
    option = rx64.getOption();
    rawData = rx64.getFrameData();
    data = rx64.getData();
    
    Serial.begin(9600);
    Serial.println("raw data:");
    Serial.print("Ox");
      
    for (int i=0; i