LED Demo for Tech Con 2014

Dependencies:   EthernetInterface PololuLedStripx mbed-rtos mbed nanoservice_client_1_12_X

Fork of LPC1768_LWM2M_Client by MBED_DEMOS

Files at this revision

API Documentation at this revision

Comitter:
michaeljkoster
Date:
Sat Oct 04 05:06:13 2014 +0000
Parent:
10:5ecaf86d3936
Commit message:
sync

Changed in this revision

ArchPro_LWM2M_LED_Client.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ArchPro_LWM2M_LED_Client.lib	Sat Oct 04 05:06:13 2014 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/MBED_DEMOS/code/ArchPro_LWM2M_LED_Client/#5ecaf86d3936
--- a/main.cpp	Tue Sep 30 03:31:19 2014 +0000
+++ b/main.cpp	Sat Oct 04 05:06:13 2014 +0000
@@ -1,11 +1,13 @@
 #include "mbed.h"
 #include "EthernetInterface.h"
+#include "IAP.h"
 #include "nsdl_support.h"
 #include "dbg.h"
+
 // Include resources
 #include "light.h"
-#include "IAP.h"
 #include "PololuLedStrip.h"
+
 PololuLedStrip ledStrip(P0_4);
 //#define LED_COUNT 60
 #define LED_COUNT 120
@@ -54,7 +56,8 @@
 // NSP configuration
 /* Change this IP address to that of your NanoService Platform installation */
 //static const char* NSP_ADDRESS = "217.140.101.20"; /* public mbed demo server */ 
-static const char* NSP_ADDRESS = "23.99.99.252"; // barista.cloudapp.net
+static const char* NSP_ADDRESS = "54.228.25.31"; //leshan sandbox
+//static const char* NSP_ADDRESS = "23.99.99.252"; // barista.cloudapp.net
 //static const char* NSP_ADDRESS = "192.168.1.200"; 
 static const int NSP_PORT = 5683;
 char endpoint_name[24] = "LED-booth-";