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:
25:93368e752d2d
Parent:
24:437c753be4fd
Child:
27:9727cdb5fa65
--- a/K64F.h	Tue Mar 01 06:20:45 2016 +0000
+++ b/K64F.h	Fri Mar 04 07:22:09 2016 +0000
@@ -31,8 +31,8 @@
 //Matjaz
 //I2C masterI2C(PTE25,PTE24);        //I2C (PinName sda, PinName scl) 
 //I2CSlave slave(PTE25, PTE24);
-Serial pc(USBTX, USBRX);
-Serial xbee(PTC17,PTC16);
+RawSerial pc(USBTX, USBRX);
+RawSerial xbee(PTC17,PTC16);