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:
23:03835082a0de
Parent:
20:14a61a65afba
--- a/LPC1768.h	Mon Nov 30 09:12:22 2015 +0000
+++ b/LPC1768.h	Tue Dec 15 09:37:25 2015 +0000
@@ -33,8 +33,8 @@
 AnalogIn ain1(p19);
 AnalogIn ain2(p20);
 //Matjaz
-//I2CSlave slave(p28, p27); //p9sda p10scl
-I2CSlave slave(p9, p10);
+I2CSlave slave(p28, p27); //p9sda p10scl
+//I2CSlave slave(p9, p10);
 
 #define LED2_OFF 0
 #define LED2_ON 1
@@ -47,5 +47,4 @@
 {
     return (lpc_mii_read_data() & 1);
 }
-
 #endif
\ No newline at end of file