IoT based security system that detects suspicious movements through a motion detector and alerts the user on their gmail. In the presence of motion sensed between 7 to 9 times, the Grove PIR sensor sends an input to the board which is connected to internet via Ethernet. The board publishes the sensor data on IBM IoT foundation, which is known as IBM Watson. The data is then sent to IBM Bluemix which provides real time analysis and the remote time data management and monitoring. For more information : https://developer.ibm.com/recipes/tutorials/mbed-c-client-library-for-ibm-iot-foundation/

Dependencies:   C12832 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Revision:
2:d8fddda78c38
Parent:
1:1f187285667c
Child:
3:69ef39823eef
diff -r 1f187285667c -r d8fddda78c38 main.cpp
--- a/main.cpp	Fri Jul 18 07:57:45 2014 +0000
+++ b/main.cpp	Fri Jul 18 09:27:32 2014 +0000
@@ -16,8 +16,8 @@
 #include "C12832.h"
 #include "LM75B.h"
 #include "MMA7660.h"
-#include "C12832.h"
-#include "MQTTEthernetIoT.h"
+#include "EthernetInterface.h"
+#include "MQTTSocket.h"
 #include "MQTTClient.h"
 #include "ConfigFile.h"
 #include "Arial12x12.h"
@@ -163,7 +163,11 @@
     } else {
         quickstartMode = true;
         org = "quickstart";
-        type = "iotsample-mbed-lpc1768";
+        #ifdef TARGET_K64F
+            type = "iotsample-mbed-k64f";
+        #else
+            type = "iotsample-mbed-lpc1768";
+        #endif
         id = mac;
     }