Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer
Fork of mbed_nsdl by
Diff: main.cpp
- Revision:
- 3:8e1117ec91ba
- Parent:
- 2:88a30cc88a86
- Child:
- 4:ab3c8d25260e
--- a/main.cpp Wed Jun 18 16:25:55 2014 +0000
+++ b/main.cpp Mon Jun 30 09:44:00 2014 +0000
@@ -27,7 +27,7 @@
// NSP configuration
/* Change this IP address to that of your NanoService Platform installation */
-static const char* NSP_ADDRESS = "168.63.12.96"; /* demo NSP, web interface at http://nanoservice-demo.mbed.org*/
+static const char* NSP_ADDRESS = "23.97.218.184"; /* demo NSP, web interface at http://nanoservice-demo.mbed.org*/
static const int NSP_PORT = 5683;
char endpoint_name[16] = "mbed-";
uint8_t ep_type[] = {"mbed_device"};
@@ -115,7 +115,7 @@
create_light_resource(resource_ptr);
create_gps_resource(resource_ptr);
create_relay_resource(resource_ptr);
- create_nespresso_resource(resource_ptr);
+// create_nespresso_resource(resource_ptr);
/* Register with NSP */
endpoint_ptr = nsdl_init_register_endpoint(endpoint_ptr, (uint8_t*)endpoint_name, ep_type, lifetime_ptr);
