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
Diff: main.cpp
- Revision:
- 25:97ec363677ce
- Parent:
- 22:9e9236890542
--- a/main.cpp Wed Apr 16 02:11:28 2014 +0000 +++ b/main.cpp Wed Apr 23 21:37:18 2014 +0000 @@ -30,12 +30,12 @@ // NSP configuration /* Change this IP address to that of your NanoService Platform installation */ -static const char* NSP_ADDRESS = "10.40.132.247"; /* Local NanoService Platform at Devnation */ +static const char* NSP_ADDRESS = "137.135.13.28"; /* NanoService Platform at red-hat-summit.cloudapp.net */ static const int NSP_PORT = 5683; char endpoint_name[20] = "mbed-ethernet-"; char mbed_uid[33]; // for creating unique name for the board uint8_t ep_type[] = {"mbed_lpc1768_appboard"}; -uint8_t lifetime_ptr[] = {"3600"}; +uint8_t lifetime_ptr[] = {"60"}; static const char* FIRMWARE_VER = "22"; // Committed revision number char* mac; char* ipAddr;