Conneting Intlel Galileo board to Xively

Hi guys,

I am hoping that you could perhaps help me with connecting an Intel Galileo board to Xively.

I am getting an ** B0100000063f694 error in the arduino console.

I am learning how to stream some sensor data from the galileo to the Xively cloud website. I am following a tutorial designed for arduino available below

I set up the little circuit with a photcell and LED, downloaded the Xively libraries and uploaded the code at the bottom of the page. It connects to the wifi but it crashes at line 72.

I’d appreciate any advice or insight into what is causing this.

Many thanks


##Xively WiFi Sensor Tutorial## 
This sketch is designed to take sensors (from photocell) and upload the values to Xively 
at consistant intervals. At the same time it gets a setable value from Xively to adjust the brigthness 
of an LED. This sketch is reusable and can be adapted for use with many different sensors. 
Derived from Xively Ardino Sensor Client by Sam Mulube. 
By Calum Barnes 3-4-2013 
BSD 3-Clause License - [] 
Copyright (c) 2013 Calum Barnes 
#include <SPI.h>  
#include <WiFi.h>  
#include <HttpClient.h>  
#include <Xively.h>  
char ssid[] = "galileowifi"; //  your network SSID (name)  
char pass[] = "0858232116";    // 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[] = "aBzfpTFv48FAZ2KYYoz9LN9kXTdsJYeuMhJfVfSCYodJKkmY";  
//your xively feed ID  
#define xivelyFeed 1896114380  
char sensorID[] = "Light";  
char ledID[] = "LED";  
// Analog pin which we're monitoring (0 and 1 are used by the Ethernet shield)  
#define sensorPin A2  
//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: ");  
  // print your WiFi shield's IP address:  
  IPAddress ip = WiFi.localIP();  
  Serial.print("IP Address: ");  
  // print the received signal strength:  
  long rssi = WiFi.RSSI();  
  Serial.print("signal strength (RSSI):");  
  Serial.println(" dBm \n");  
void setup() {  
  // put your setup code here, to run once:  
  //pin setup  
  pinMode(sensorPin, INPUT);  
  pinMode(ledPin, OUTPUT);  
  Serial.println("Starting single datastream upload to Xively...");  
  // attempt to connect to Wifi network:  
  while ( status != WL_CONNECTED) {  
    Serial.print("Attempting to connect to SSID: ");  
    status = WiFi.begin(ssid, keyIndex, pass);  
    // wait 10 seconds for connection:  
  Serial.println("Connected to wifi");  
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");  
  }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);  
  //print the sensor valye  
  Serial.print("Read sensor value ");  
  //send value to xively  
  Serial.println("Uploading it to Xively");  
  int ret = xivelyclient.put(feed, xivelyKey);  
  //return message  
  Serial.print("xivelyclient.put returned ");  
  //delay between calls