Nespresso coffee demo working on the Arch Pro

Dependencies:   EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer

Fork of mbed_nsdl by Nespresso RGB Sensor

Revision:
1:8c765fa735b0
Parent:
0:345864e9ee85
Child:
2:88a30cc88a86
--- a/nsdl_support.cpp	Wed Jun 04 15:39:11 2014 +0000
+++ b/nsdl_support.cpp	Thu Jun 05 16:55:49 2014 +0000
@@ -70,9 +70,8 @@
         memset(endpoint_structure, 0, sizeof(sn_nsdl_ep_parameters_s));
         endpoint_structure->endpoint_name_ptr = name;
         endpoint_structure->endpoint_name_len = strlen((char*)name);            
-        char domain[] = "538dec6fb626d4020028e788";
-        endpoint_structure->domain_name_ptr = (uint8_t*) domain;
-        endpoint_structure->domain_name_len = strlen((char*)domain);        
+        endpoint_structure->domain_name_ptr = (uint8_t*) "id538dec6fb626d4020028e788\0";
+        endpoint_structure->domain_name_len = strlen((char*) "id538dec6fb626d4020028e788\0");
         endpoint_structure->type_ptr = typename_ptr;
         endpoint_structure->type_len =  strlen((char*)typename_ptr);
         endpoint_structure->lifetime_ptr = lifetime_ptr;