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/K64F.h	Mon Nov 30 09:12:22 2015 +0000
+++ b/K64F.h	Tue Mar 01 06:20:45 2016 +0000
@@ -30,7 +30,9 @@
 
 //Matjaz
 //I2C masterI2C(PTE25,PTE24);        //I2C (PinName sda, PinName scl) 
-I2CSlave slave(PTE25, PTE24);
+//I2CSlave slave(PTE25, PTE24);
+Serial pc(USBTX, USBRX);
+Serial xbee(PTC17,PTC16);