Mbed Cloud Example Project - LPC546xx (Completed Version)

Fork of mbed-cloud-example-lpc546xx by Clark Jarvis

Revision:
10:f30cd412e968
Parent:
8:99d61dd3bfb9
--- a/Code_Additions.txt	Thu Oct 11 15:25:26 2018 +0000
+++ b/Code_Additions.txt	Thu Oct 11 18:59:07 2018 +0000
@@ -1,22 +1,21 @@
 
 // To-Do #1
 
-
 // Setup Mbed Cloud Client Resources
-MbedCloudClientResource *button = mbedClient.create_resource("3200/0/5501", "button_resource");
+MbedCloudClientResource *button = mbedClient.create_resource("3200/0/5501", "button_resource"); // Digital Input / Instance / Counter
 button->set_value("0");
 button->methods(M2MMethod::GET);
 button->observable(true);
 button->attach_notification_callback(button_callback);
 
-MbedCloudClientResource *rate = mbedClient.create_resource("3201/0/5853", "blink_rate_resource");
+MbedCloudClientResource *rate = mbedClient.create_resource("3201/0/5521", "blink_rate_resource"); // Digital Output / Instance / Delay Duration
 rate->set_value("500");
 rate->methods(M2MMethod::GET | M2MMethod::PUT);
 rate->observable(false);
 rate->attach_put_callback(blink_rate_updated);
 rate_ptr = rate;
 
-MbedCloudClientResource *blink = mbedClient.create_resource("3201/0/5850", "blink_enable_resource");
+MbedCloudClientResource *blink = mbedClient.create_resource("3201/0/5823", "blink_enable_resource"); // Digital Output / Instance / Event ID
 blink->methods(M2MMethod::POST);
 blink->attach_post_callback(blink_enable_callback);
 
@@ -24,6 +23,7 @@
 
 
 
+
 // To-Do #2
 
 // Pointer declaration for Rate Resource