Red Hat Summit NanoService Demo for LPC1768 App Board using OMA Lightweight Objects

Dependencies:   Beep C12832_lcd EthernetInterface LM75B MMA7660 mbed-rtos mbed nsdl_lib

Fork of LWM2M_NanoService_Ethernet by MBED_DEMOS

Revision:
28:3c25f2f62cd3
Parent:
27:d898b3a8c769
Child:
29:7512729587cf
--- a/main.cpp	Sun Apr 27 17:03:22 2014 +0000
+++ b/main.cpp	Sun Apr 27 17:08:08 2014 +0000
@@ -32,9 +32,9 @@
 /* Change this IP address to that of your NanoService Platform installation */
 static const char* NSP_ADDRESS = "208.111.39.209"; /* demo NSP, web interface at http://208.111.39.209/ */
 static const int NSP_PORT = 5683;
-char endpoint_name[20] = "mbed-house-";
+char endpoint_name[20] = "mbed-lafd-cert-";
 char mbed_uid[33]; // for creating unique name for the board
-uint8_t ep_type[] = {"mbed_house"};
+uint8_t ep_type[] = {"mbed_lafd_cert"};
 uint8_t lifetime_ptr[] = {"60"};
 static const char* FIRMWARE_VER = "25"; // Committed revision number
 char* mac;
@@ -139,7 +139,7 @@
     create_temperature_resource(resource_ptr);
     create_light_resource(resource_ptr);
     create_gps_resource(resource_ptr);
-    //create_relay_resource(resource_ptr);
+    create_relay_resource(resource_ptr);
 
 #ifdef USE_RGBLED
     NSDL_DEBUG("Enabling RGB LED due to USE_RGBLED=%d\n", USE_RGBLED);