Help please, how do you send data on API mode on Xbee series 1?

Hello everyone,
I am just starting to play with the arduino Fio and xbee’s for a project. I did successfully send data from one xbee to the other on transparent mode (AT). Now, after understanding how API works, I want to send data on API mode and then play with the fields (like RSSI, payload, etc) on the receiver side. I know that I have to form a frame that starts with 0x73…etc etc, but I dont see them communicating at all (receiver doesnt get any info) when I turn the arduino Fios on. Here is my code for the transmitter and receiver nodes. I would really appreciate it if someone could tell me where I am failing (PS: I configured transmitter with MY = 0001 and receiver with MY = 0002. Both work at same boud rate, are in the same channel and PAN ID):

Transmitter code:

// Sender
uint8_t frame[] = {0x7E, 0x00, 0x0A, 0x01, 0x01, 0x00, 0x02, 0x00, 0x48, 0x65, 
                  0x6C, 0x6C, 0x6F, 0xB8};

void setup()
{
  Serial.begin(57600);
  delay(1000);
  Serial.flush();
}

void sendByte(uint8_t &data)
{
  Serial.print(data, BYTE);
}

void loop()
{
  // 7E 00 0A 01 01 00 02 00 48 65 6C 6C 6F B8
  
  for(int j = 0; j < sizeof(frame); j++) 
    sendByte(frame[j]);
  
  Serial.flush();
  delay(3000);
}

Receiver code:

#include <stdlib.h>
// Receiver
uint8_t incomingByte;

void setup()
{
  Serial.begin(57600); 
}

void loop()
{
  while(Serial.available())
  {
    incomingByte = Serial.read();
    Serial.print(incomingByte, HEX);
  }
  Serial.println();
}

Thank you a lot guys!

Please do not crosspost... http://arduino.cc/forum/index.php/topic,77771.html

sorry I was not sure where this should go, and I thought people that usually read this topics about xbee would answer my question first...