Problems when using the API mode library on Arduino One and XBee Pro Series 2

Good afternoon everyone,

as described in the subject above, I have encountered some problems when trying to use Arduino One with a XBee shield coupled with a XBee Pro Series 2 in ZigBee Pro 2007 stack profile.
I have already seen the post here Arduino Xbee Shield problem - Troubleshooting - Arduino Forum, but it's not complete for what I am doing.
Basically I am using the library created by andrewrapp on GitHub https://github.com/andrewrapp/xbee-arduino. The main file to evaluate is the XBee.h file, which is on the master branch. Here, GitHub - andrewrapp/xbee-arduino at wiki, you can find some useful notes on the library functioning. I have created this code to use with XBee:

#include <XBee.h>

// Create an XBee object at the top of your sketch
XBee xbee = XBee();

void setup() {
  // put your setup code here, to run once:

  // Start the serial port
Serial.begin(9600);
// Tell XBee to use Hardware Serial. It's also possible to use SoftwareSerial
xbee.setSerial(Serial);

pinMode(13,OUTPUT);
digitalWrite(13,LOW);

}

void loop() {
  // put your main code here, to run repeatedly:

  // Create an array for holding the data you want to send.
uint8_t payload[] = { '3', ',', 'A', ',', '5', '0', '0', ',', '0' };

delay(500);

// Specify the address of the remote XBee (this is the SH + SL)
XBeeAddress64 addr64 = XBeeAddress64(0x000D6F00, 0x0AB9FA93);

delay(500);

  // Create an explicit TX Request
ZBExplicitTxRequest zbTx = ZBExplicitTxRequest(addr64, 0xfffe, 0, 0, payload, sizeof(payload), 0, 0xE8, 0x01, 0x0002, 0xC091);

delay(500);

// Send your request
xbee.send(zbTx);

  delay(1000);
  digitalWrite
  (13,HIGH);
  delay(1000);
  digitalWrite(13,LOW);

delay(5000);

}

The problem is the following:

I can successfully load the sketch on Arduino One and I can also communicate with the XBee through Digi XCTU software putting the jumpers on the XBee shield in the USB position and removing the ATMEGA328P from its location as described in the description page of the XBee shield on the Arduino website.
Plus, when connecting only the Arduino One to the computer with the USB cable, I can see it transmits Serial data (TX LED blink and serial data appears on the screen and LED 13 is used to control if the message is sent) as reported above in the code.
However, when loading the sketch on Arduino One, putting the jumpers on the XBee shield in the XBee position, and coupling Arduino with the shield and the XBee radio module, it seems that the Arduino One board freeze like the LED 13 remains always on and TX LED does not blink anymore. I suppose it is not transmitting.
The objective of this code is to send the message in the ZBExplicitTxRequest to a predefined radio module which is non-Digi, instead a Telegesis (Silicon Labs) radio module, which has different endpoint, cluster ID and Profile ID. However, I just need to solve the problem of why the Arduino is not sending the message coupled with the XBee shield even though I have correctly configured all the parts. I have also tried to send this message (API frame) with the XCTU software and it works, since the Telegesis radio module on our electronic boards receive the payload ("3,A,900,0"), and turn the lights on.
The ZBExplicitTxRequest command can be found at line 1200 of the XBee.h file.

I hope it's all clear, but if you need more details, I can go further with the problem.

Thanks to all want to help with this issue.

Regards.