This is a program that turns your mbed device into a FireFly gateway, that publishes data from FireFly BLE modules to the IBM Watson IoT Platform.

Dependencies:   C12832 EthernetInterface MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Revision:
24:437c753be4fd
Parent:
20:14a61a65afba
Child:
25:93368e752d2d
--- a/LPC1768.h	Mon Nov 30 09:12:22 2015 +0000
+++ b/LPC1768.h	Tue Mar 01 06:20:45 2016 +0000
@@ -34,7 +34,10 @@
 AnalogIn ain2(p20);
 //Matjaz
 //I2CSlave slave(p28, p27); //p9sda p10scl
-I2CSlave slave(p9, p10);
+//I2CSlave slave(p9, p10);
+Serial pc(USBTX, USBRX);
+Serial xbee(p9,p10);
+//Serial xbee(p13,p14);
 
 #define LED2_OFF 0
 #define LED2_ON 1