Mbed Cloud Example Project - LPC546xx (Starting Version)

Fork of mbed-cloud-example-lpc546xx by Mac Lobdell

Files at this revision

API Documentation at this revision

Comitter:
clarkjarvis
Date:
Thu Oct 11 18:28:40 2018 +0000
Parent:
8:99d61dd3bfb9
Child:
10:5b42f7323c71
Commit message:
Updated Resource Creation to align with Open Mobile Alliance Registry

Changed in this revision

Bonus_Code_Additions_Accel.txt Show annotated file Show diff for this revision Revisions of this file
Code_Additions.txt Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed_cloud_dev_credentials.c Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Bonus_Code_Additions_Accel.txt	Thu Oct 11 18:28:40 2018 +0000
@@ -0,0 +1,34 @@
+Bonus Lab Steps
+
+Add the X-Value of the onboard Acceleromter
+Requires importing the MMA8652 library into project
+https://os.mbed.com/components/MMA8652-Accelerometer/
+
+
+// Include MMA8652 header file
+#include "MMA8652.h"
+
+
+// Create an instantiation of the accelerometer
+MMA8652 acc(P3_23, P3_24);
+
+// Add an empty callback to support the observability of the GET request
+void accel_callback(const M2MBase& object, const NoticationDeliveryStatus status){}
+
+// Add Mbed Cloud Client Resource
+MbedCloudClientResource *accel = mbedClient.create_resource("3313/0/5702", "accel_resource"); // Accelerometer / Instance / X Value
+accel->set_value("0");
+accel->methods(M2MMethod::GET);
+accel->observable(true);
+accel->attach_notification_callback(accel_callback);
+    
+    
+// Add local variables to main() to handle storing accelerometer data
+float acc_data[3];
+char buffer[10];
+
+
+// Add code to main while loop to periodically read and set accelerometer data
+acc.ReadXYZ(acc_data);
+int size = snprintf(buffer,10,"%1.4f",acc_data[0]);
+accel->set_value(buffer);
\ No newline at end of file
--- a/Code_Additions.txt	Thu Oct 11 15:00:58 2018 +0000
+++ b/Code_Additions.txt	Thu Oct 11 18:28:40 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
--- a/main.cpp	Thu Oct 11 15:00:58 2018 +0000
+++ b/main.cpp	Thu Oct 11 18:28:40 2018 +0000
@@ -49,7 +49,6 @@
 // To-Do #3: Add Cloud Client Resource Callback Functions
 
 
-
 int main(void)
 {
     // Requires DAPLink 245+ (https://github.com/ARMmbed/DAPLink/pull/364)
@@ -107,7 +106,6 @@
     // To-Do #1: Add Mbed Cloud Client resources
 
 
-
     // Mbed Cloud Register Client and Connect
     mbedClient.register_and_connect();
 
@@ -119,16 +117,17 @@
     // Setup LED and Push BUtton
     timer.attach(&led_toggle, 0.5);
     sw2.fall(&button_press);
-    
+
     // Check if client is registering or registered, if true sleep and repeat.
     while (mbedClient.is_register_called()) {
         static int button_count = 0;
         wait_ms(100);
-
+        
         if (button_pressed) {
             button_pressed = false;
             printf("Button Pressed %d time(s).\r\n",(++button_count));
             // To-Do #4: Add function to set button resource value
+
         }
     }
 
--- a/mbed_cloud_dev_credentials.c	Thu Oct 11 15:00:58 2018 +0000
+++ b/mbed_cloud_dev_credentials.c	Thu Oct 11 18:28:40 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 ARM Limited. All rights reserved.
+ * Copyright (c) 2018 ARM Limited. All rights reserved.
  * SPDX-License-Identifier: Apache-2.0
  * Licensed under the Apache License, Version 2.0 (the License); you may
  * not use this file except in compliance with the License.
@@ -15,39 +15,200 @@
  */
 #ifndef __MBED_CLOUD_DEV_CREDENTIALS_H__
 #define __MBED_CLOUD_DEV_CREDENTIALS_H__
- 
-#if MBED_CONF_APP_DEVELOPER_MODE == 1
-#error "Replace mbed_cloud_dev_credentials.c with your own developer cert."
-#endif
- 
+
 #include <inttypes.h>
- 
-const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = "";
-const char MBED_CLOUD_DEV_ACCOUNT_ID[] = "";
-const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "";
- 
-const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] =
-{ 0x0 };
- 
-const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE[] =
-{ 0x0 };
- 
-const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY[] =
-{ 0x0 };
- 
+
+const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = "01663fc8a8beeec8fece421403c00000";
+const char MBED_CLOUD_DEV_ACCOUNT_ID[] = "01663fc0d2462200d95670ee00000000";
+const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://bootstrap.us-east-1.mbedcloud.com:5684?aid=01663fc0d2462200d95670ee00000000";
+
+const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] = 
+{ 0x30, 0x82, 0x02, 0x6f, 0x30, 0x82, 0x02, 0x14,
+ 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x10, 0x01,
+ 0x28, 0xe3, 0x6f, 0x5f, 0x1e, 0x4a, 0x00, 0x99,
+ 0xd4, 0x29, 0x16, 0xb4, 0x6e, 0xad, 0x6b, 0x30,
+ 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d,
+ 0x04, 0x03, 0x02, 0x30, 0x81, 0xa2, 0x31, 0x0b,
+ 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,
+ 0x02, 0x47, 0x42, 0x31, 0x17, 0x30, 0x15, 0x06,
+ 0x03, 0x55, 0x04, 0x08, 0x0c, 0x0e, 0x43, 0x61,
+ 0x6d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x73,
+ 0x68, 0x69, 0x72, 0x65, 0x31, 0x12, 0x30, 0x10,
+ 0x06, 0x03, 0x55, 0x04, 0x07, 0x0c, 0x09, 0x43,
+ 0x61, 0x6d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65,
+ 0x31, 0x10, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x04,
+ 0x0a, 0x0c, 0x07, 0x41, 0x52, 0x4d, 0x20, 0x4c,
+ 0x74, 0x64, 0x31, 0x29, 0x30, 0x27, 0x06, 0x03,
+ 0x55, 0x04, 0x0b, 0x0c, 0x20, 0x30, 0x31, 0x36,
+ 0x36, 0x33, 0x66, 0x63, 0x30, 0x64, 0x32, 0x34,
+ 0x36, 0x32, 0x32, 0x30, 0x30, 0x64, 0x39, 0x35,
+ 0x36, 0x37, 0x30, 0x65, 0x65, 0x30, 0x30, 0x30,
+ 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x29, 0x30,
+ 0x27, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x20,
+ 0x30, 0x31, 0x36, 0x36, 0x33, 0x66, 0x63, 0x38,
+ 0x61, 0x38, 0x62, 0x65, 0x65, 0x65, 0x63, 0x38,
+ 0x66, 0x65, 0x63, 0x65, 0x34, 0x32, 0x31, 0x34,
+ 0x30, 0x33, 0x63, 0x30, 0x30, 0x30, 0x30, 0x30,
+ 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x38, 0x31, 0x30,
+ 0x30, 0x34, 0x31, 0x35, 0x35, 0x33, 0x32, 0x36,
+ 0x5a, 0x17, 0x0d, 0x32, 0x38, 0x31, 0x30, 0x30,
+ 0x34, 0x31, 0x35, 0x35, 0x33, 0x32, 0x36, 0x5a,
+ 0x30, 0x81, 0xa2, 0x31, 0x0b, 0x30, 0x09, 0x06,
+ 0x03, 0x55, 0x04, 0x06, 0x13, 0x02, 0x47, 0x42,
+ 0x31, 0x17, 0x30, 0x15, 0x06, 0x03, 0x55, 0x04,
+ 0x08, 0x0c, 0x0e, 0x43, 0x61, 0x6d, 0x62, 0x72,
+ 0x69, 0x64, 0x67, 0x65, 0x73, 0x68, 0x69, 0x72,
+ 0x65, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55,
+ 0x04, 0x07, 0x0c, 0x09, 0x43, 0x61, 0x6d, 0x62,
+ 0x72, 0x69, 0x64, 0x67, 0x65, 0x31, 0x10, 0x30,
+ 0x0e, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x07,
+ 0x41, 0x52, 0x4d, 0x20, 0x4c, 0x74, 0x64, 0x31,
+ 0x29, 0x30, 0x27, 0x06, 0x03, 0x55, 0x04, 0x0b,
+ 0x0c, 0x20, 0x30, 0x31, 0x36, 0x36, 0x33, 0x66,
+ 0x63, 0x30, 0x64, 0x32, 0x34, 0x36, 0x32, 0x32,
+ 0x30, 0x30, 0x64, 0x39, 0x35, 0x36, 0x37, 0x30,
+ 0x65, 0x65, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
+ 0x30, 0x30, 0x31, 0x29, 0x30, 0x27, 0x06, 0x03,
+ 0x55, 0x04, 0x03, 0x0c, 0x20, 0x30, 0x31, 0x36,
+ 0x36, 0x33, 0x66, 0x63, 0x38, 0x61, 0x38, 0x62,
+ 0x65, 0x65, 0x65, 0x63, 0x38, 0x66, 0x65, 0x63,
+ 0x65, 0x34, 0x32, 0x31, 0x34, 0x30, 0x33, 0x63,
+ 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x59, 0x30,
+ 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d,
+ 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce,
+ 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04,
+ 0xac, 0x11, 0x69, 0x54, 0x63, 0x00, 0x39, 0xd1,
+ 0xf3, 0x48, 0xe8, 0x40, 0xc4, 0x4a, 0xfe, 0x8c,
+ 0x7d, 0x09, 0x39, 0xd5, 0xf2, 0x30, 0x19, 0xd5,
+ 0x19, 0x9e, 0x87, 0x48, 0x01, 0x2f, 0xdb, 0xed,
+ 0xf2, 0xad, 0x79, 0x18, 0xde, 0xb0, 0x02, 0xb4,
+ 0x98, 0xd6, 0xb5, 0x49, 0xfa, 0x99, 0x47, 0xe9,
+ 0xa8, 0xc4, 0x5f, 0xcb, 0x28, 0x1f, 0xcd, 0x70,
+ 0x91, 0xec, 0x8c, 0x24, 0x21, 0xff, 0x43, 0xc1,
+ 0xa3, 0x2a, 0x30, 0x28, 0x30, 0x12, 0x06, 0x09,
+ 0x2b, 0x06, 0x01, 0x04, 0x01, 0xa0, 0x20, 0x81,
+ 0x49, 0x04, 0x05, 0x02, 0x03, 0x40, 0x00, 0x91,
+ 0x30, 0x12, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01,
+ 0x01, 0xff, 0x04, 0x08, 0x30, 0x06, 0x01, 0x01,
+ 0xff, 0x02, 0x01, 0x00, 0x30, 0x0a, 0x06, 0x08,
+ 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02,
+ 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00,
+ 0xbb, 0x8f, 0x6f, 0x64, 0x57, 0x4f, 0x27, 0xe6,
+ 0xa1, 0x05, 0x5e, 0x9d, 0x79, 0xbe, 0x66, 0x54,
+ 0x17, 0x8c, 0xa1, 0x65, 0x13, 0x9a, 0xf5, 0x3b,
+ 0x90, 0x54, 0x7e, 0x28, 0x2b, 0x33, 0xe6, 0xd1,
+ 0x02, 0x21, 0x00, 0xd3, 0x04, 0x8e, 0xd9, 0x08,
+ 0xd3, 0x36, 0xfb, 0x66, 0xaf, 0x71, 0xac, 0x76,
+ 0x43, 0xa0, 0xda, 0xbe, 0xa1, 0x7e, 0x88, 0x94,
+ 0x9f, 0x7d, 0x2c, 0x28, 0xf9, 0xaf, 0x28, 0x38,
+ 0xab, 0x92, 0x2a };
+
+const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE[] = 
+{ 0x30, 0x82, 0x02, 0x1f, 0x30, 0x82, 0x01, 0xc5,
+ 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x10, 0x3c,
+ 0x63, 0x38, 0x70, 0x08, 0xd3, 0xc9, 0x8a, 0x4c,
+ 0x72, 0x1f, 0x8f, 0x45, 0xeb, 0xd8, 0xf3, 0x30,
+ 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d,
+ 0x04, 0x03, 0x02, 0x30, 0x67, 0x31, 0x0b, 0x30,
+ 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, 0x02,
+ 0x47, 0x42, 0x31, 0x17, 0x30, 0x15, 0x06, 0x03,
+ 0x55, 0x04, 0x08, 0x13, 0x0e, 0x43, 0x61, 0x6d,
+ 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x73, 0x68,
+ 0x69, 0x72, 0x65, 0x31, 0x12, 0x30, 0x10, 0x06,
+ 0x03, 0x55, 0x04, 0x07, 0x13, 0x09, 0x43, 0x61,
+ 0x6d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x31,
+ 0x10, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x04, 0x0a,
+ 0x13, 0x07, 0x41, 0x52, 0x4d, 0x20, 0x4c, 0x74,
+ 0x64, 0x31, 0x19, 0x30, 0x17, 0x06, 0x03, 0x55,
+ 0x04, 0x03, 0x13, 0x10, 0x41, 0x52, 0x4d, 0x20,
+ 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
+ 0x70, 0x20, 0x43, 0x41, 0x30, 0x20, 0x17, 0x0d,
+ 0x31, 0x37, 0x30, 0x34, 0x30, 0x33, 0x31, 0x34,
+ 0x30, 0x33, 0x33, 0x36, 0x5a, 0x18, 0x0f, 0x32,
+ 0x30, 0x35, 0x32, 0x30, 0x34, 0x30, 0x33, 0x31,
+ 0x34, 0x31, 0x33, 0x33, 0x36, 0x5a, 0x30, 0x67,
+ 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
+ 0x06, 0x13, 0x02, 0x47, 0x42, 0x31, 0x17, 0x30,
+ 0x15, 0x06, 0x03, 0x55, 0x04, 0x08, 0x13, 0x0e,
+ 0x43, 0x61, 0x6d, 0x62, 0x72, 0x69, 0x64, 0x67,
+ 0x65, 0x73, 0x68, 0x69, 0x72, 0x65, 0x31, 0x12,
+ 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x07, 0x13,
+ 0x09, 0x43, 0x61, 0x6d, 0x62, 0x72, 0x69, 0x64,
+ 0x67, 0x65, 0x31, 0x10, 0x30, 0x0e, 0x06, 0x03,
+ 0x55, 0x04, 0x0a, 0x13, 0x07, 0x41, 0x52, 0x4d,
+ 0x20, 0x4c, 0x74, 0x64, 0x31, 0x19, 0x30, 0x17,
+ 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x10, 0x41,
+ 0x52, 0x4d, 0x20, 0x42, 0x6f, 0x6f, 0x74, 0x73,
+ 0x74, 0x72, 0x61, 0x70, 0x20, 0x43, 0x41, 0x30,
+ 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x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1, 0xf3, 0x48,
+ 0xe8, 0x40, 0xc4, 0x4a, 0xfe, 0x8c, 0x7d, 0x09,
+ 0x39, 0xd5, 0xf2, 0x30, 0x19, 0xd5, 0x19, 0x9e,
+ 0x87, 0x48, 0x01, 0x2f, 0xdb, 0xed, 0xf2, 0xad,
+ 0x79, 0x18, 0xde, 0xb0, 0x02, 0xb4, 0x98, 0xd6,
+ 0xb5, 0x49, 0xfa, 0x99, 0x47, 0xe9, 0xa8, 0xc4,
+ 0x5f, 0xcb, 0x28, 0x1f, 0xcd, 0x70, 0x91, 0xec,
+ 0x8c, 0x24, 0x21, 0xff, 0x43, 0xc1 };
+
 const char MBED_CLOUD_DEV_MANUFACTURER[] = "dev_manufacturer";
- 
+
 const char MBED_CLOUD_DEV_MODEL_NUMBER[] = "dev_model_num";
- 
+
 const char MBED_CLOUD_DEV_SERIAL_NUMBER[] = "0";
- 
+
 const char MBED_CLOUD_DEV_DEVICE_TYPE[] = "dev_device_type";
- 
+
 const char MBED_CLOUD_DEV_HARDWARE_VERSION[] = "dev_hardware_version";
- 
+
 const uint32_t MBED_CLOUD_DEV_MEMORY_TOTAL_KB = 0;
+
 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE);
 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE);
 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY);
- 
+
 #endif //__MBED_CLOUD_DEV_CREDENTIALS_H__