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:
12:ad05fe84b4ff
Parent:
8:27e94f52810b
--- a/main.cpp	Mon Sep 15 14:14:44 2014 +0000
+++ b/main.cpp	Fri Mar 20 16:11:15 2015 +0000
@@ -20,7 +20,7 @@
 
 // NSP configuration
 /* Change this IP address to that of your NanoService Platform installation */
-static const char* NSP_ADDRESS = "23.99.96.113";
+static const char* NSP_ADDRESS = "barista-mds.cloudapp.net";
 static const int NSP_PORT = 5683;
 char endpoint_name[] = "nespresso-client";
 uint8_t ep_type[] = {"mbed_device"};
@@ -108,6 +108,15 @@
 // ****************************************************************************
 // Program entry point
 
+extern "C" void mbed_mac_address(char *mac){
+    mac[0] = 0x00;
+    mac[1] = 0x02;
+    mac[2] = 0xF7;
+    mac[3] = 0xF1;
+    mac[4] = 0x91;
+    mac[5] = 0x9F;
+};
+
 int main()
 {
     pc.baud(115200);