Proyecto con Xively

Hola amigos del foro, estoy desarrollando un proyecto en el cual necesito contar con Xively, encontre un tutorial y he estado tratando de hacer pruebas de comunicacion pero no resulta. El tutotial es este: https://personal.xively.com/dev/tutorials/arduino_wi-fi/ por si desean verlo. LA idea es que en el tutorial se enseña como hacer la comunicacion entre el Arduino UNO y la pagina xively con el fin de poder visualizar graficamente los datos que se obtienen de algun sensor o entrada analoga del Arduino. Mi problema en particular es que siempre me sale el mismo mensaje en el cuadro del puerto serial, el codigo que estoy desarrollando en este momento es el siguiente:

#include <SPI.h>
#include <WiFi.h>
#include <HttpClient.h>
#include <Xively.h>
//#include <Ethernet.h>

char ssid[] = "UDNet_Free"; // your network SSID (name)
char pass[] = "Pass"; // your network password (use for WPA, or use as key for WEP)
int keyIndex = 0; // your network key Index number (needed only for WEP)

int status = WL_IDLE_STATUS;

// Your Xively key to let you upload data
char xivelyKey[] = "2cKwE2GBK4gaj53mmuCqIgDPdWsMkb88nB3EpfcpjHbl9NIK";
//your xively feed ID
#define xivelyFeed 1536881331
#define USERAGENT "Frecuencia";
byte mac [] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEE};
IPAddress ip (10,86,5,174);
char server [] = "api.xively.com";
//EthernetClient client;
//datastreams
char sensorID[] = "LIGHT_SENSOR_CHANNEL";
char ledID[] = "LED_CHANNEL";

// Analog pin which we're monitoring (0 and 1 are used by the Ethernet shield)
#define sensorPin 0
//led connected pin
#define ledPin 9

// Define the strings for our datastream IDs
XivelyDatastream datastreams[] = {
XivelyDatastream(sensorID, strlen(sensorID), DATASTREAM_FLOAT),
XivelyDatastream(ledID, strlen(ledID), DATASTREAM_FLOAT),
};
// Finally, wrap the datastreams into a feed
XivelyFeed feed(xivelyFeed, datastreams, 2 /* number of datastreams */);

WiFiClient client;
XivelyClient xivelyclient(client);

void printWifiStatus() {
// print the SSID of the network you're attached to:
Serial.print("SSID: ");
Serial.println(WiFi.SSID());

// print your WiFi shield's IP address:
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
Serial.println(ip);

// print the received signal strength:
long rssi = WiFi.RSSI();
Serial.print("signal strength (RSSI):");
Serial.print(rssi);
Serial.println(" dBm \n");
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
//pin setup
pinMode(sensorPin, INPUT);
pinMode(ledPin, OUTPUT);

Serial.println("Starting single datastream upload to Xively...");
Serial.println();

// attempt to connect to Wifi network:
while ( status != WL_CONNECTED) {
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
status = WiFi.begin(ssid, keyIndex, pass);
// wait 10 seconds for connection:
delay(10000);
}
Serial.println("Connected to wifi");
printWifiStatus();
}

void loop() {
//adjust LED level. set from Xively
int getReturn = xivelyclient.get(feed, xivelyKey); //get data from xively
if(getReturn > 0){
Serial.println("LED Datastream");
Serial.println(feed[1]);
}else Serial.println("HTTP Error");

//write value to LED - change brightness
int level = feed[1].getFloat();
if(level < 0){
level = 0;
}else if(level > 255){
level = 255;
}
//actually write the value
digitalWrite(ledPin, level);

///////////////////////////////////////////////////////
//read sensor values
int sensorValue = analogRead(sensorPin);
datastreams[0].setFloat(sensorValue);

//print the sensor valye
Serial.print("Read sensor value ");
Serial.println(datastreams[0].getFloat());

//send value to xively
Serial.println("Uploading it to Xively");
int ret = xivelyclient.put(feed, xivelyKey);
//return message
Serial.print("xivelyclient.put returned ");
Serial.println(ret);
Serial.println("");

//delay between calls
delay(15000);
}

En realidad ya no se cual es el problema, y llevo algunos dias intentando realizar esta comunicacion ya que es lo unico que me hace falta para ''culminar'' mi proyecto.

Muchas gracias a quien pueda ayudarme a solucionar este problema que tengo. eL mensaje que se repite continuamente es el siguiente sin que muestre nada mas.

Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free
Attempting to connect to SSID: UDNet_Free

Y no establece conexion, de nuevo agradezco a quien pueda ayudarme con este problema.