Sailesh Timilsena / Mbed OS Z_IOT_ResearchWork

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers update_default_resources.c Source File

update_default_resources.c

00001 
00002 #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00003 #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00004 #endif
00005 
00006 #include <stdint.h>
00007 
00008 #ifdef MBED_CLOUD_DEV_UPDATE_ID
00009 const uint8_t arm_uc_vendor_id[] = {
00010     0x92, 0xcc, 0x10, 0xb6, 0xab, 0x40, 0x5e, 0x30, 0x88, 0x6f, 0xa5, 0xcc, 0xc3, 0x22, 0xec, 0x24
00011 };
00012 const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
00013 
00014 const uint8_t arm_uc_class_id[]  = {
00015     0xb2, 0x12, 0xef, 0xa1, 0xf1, 0xa0, 0x58, 0x7e, 0x9f, 0x34, 0xdc, 0x26, 0x5a, 0x1c, 0x58, 0xd5
00016 };
00017 const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
00018 #endif
00019 
00020 #ifdef MBED_CLOUD_DEV_UPDATE_CERT
00021 const uint8_t arm_uc_default_fingerprint[] =  {
00022     0xea, 0xce, 0xa3, 0x43, 0xcc, 0x90, 0xe2, 0xdf, 0x35, 0xe2, 0xd5, 0x19, 0x2b, 0x49, 0x16, 0xfd,
00023     0x65, 0x79, 0xae, 0xd3, 0x38, 0xf6, 0x82, 0xa0, 0x8e, 0xae, 0xdd, 0x3a, 0x51, 0x8b, 0xb9, 0x11
00024 };
00025 const uint16_t arm_uc_default_fingerprint_size =
00026     sizeof(arm_uc_default_fingerprint);
00027 
00028 const uint8_t arm_uc_default_subject_key_identifier[] =  {
00029 };
00030 const uint16_t arm_uc_default_subject_key_identifier_size =
00031     sizeof(arm_uc_default_subject_key_identifier);
00032 
00033 const uint8_t arm_uc_default_certificate[] = {
00034     0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x7a, 0xa1,
00035     0x31, 0x0b, 0x29, 0x20, 0xed, 0x29, 0x88, 0x73, 0x9a, 0xae, 0xf2, 0x86, 0x45, 0xc8, 0x03, 0xeb,
00036     0x02, 0xcc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14,
00037     0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
00038     0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34,
00039     0x33, 0x39, 0x33, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, 0x30,
00040     0x30, 0x30, 0x30, 0x5a, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c,
00041     0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07,
00042     0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01,
00043     0x07, 0x03, 0x42, 0x00, 0x04, 0x8b, 0x48, 0x65, 0xa1, 0xcc, 0x93, 0x09, 0xe4, 0x2a, 0x9a, 0x20,
00044     0x4b, 0xb0, 0x88, 0xfa, 0xc6, 0xea, 0x1a, 0x14, 0x95, 0x58, 0x35, 0x5d, 0xc5, 0x71, 0xff, 0x1c,
00045     0x96, 0x58, 0x6e, 0x3a, 0xaa, 0x70, 0xdc, 0x15, 0x05, 0xff, 0xb5, 0x0c, 0x59, 0xd1, 0x7f, 0x83,
00046     0xc0, 0x66, 0xde, 0x71, 0xd5, 0xce, 0xd0, 0x33, 0xb9, 0x4f, 0x63, 0xa5, 0x2c, 0xa6, 0xb2, 0x9b,
00047     0x31, 0x2c, 0x77, 0xed, 0xe5, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f,
00048     0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x13, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30,
00049     0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x30, 0x0a, 0x06, 0x08, 0x2a,
00050     0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0xcd, 0x99,
00051     0x0f, 0xab, 0x1d, 0x39, 0x99, 0x30, 0xe5, 0xad, 0x2d, 0x8b, 0x1a, 0x6b, 0xd7, 0x40, 0x48, 0x06,
00052     0xf5, 0x0d, 0x7d, 0x84, 0x37, 0x63, 0x9f, 0x2a, 0x7d, 0x76, 0x39, 0x6d, 0x31, 0xd9, 0x02, 0x20,
00053     0xda, 0x8e, 0x55, 0xfc, 0xbe, 0xdd, 0x2b, 0x0e, 0xbb, 0x36, 0x07, 0x2b, 0xf7, 0x8f, 0x8d, 0x7a,
00054     0xd2, 0x83, 0x66, 0xaa, 0x92, 0x8b, 0x3a, 0x7e, 0x91, 0xf7, 0x72, 0x3a, 0xaf, 0x06, 0x5a, 0xdf
00055 };
00056 const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate);
00057 #endif
00058 
00059 
00060 #ifdef MBED_CLOUD_DEV_UPDATE_PSK
00061 const uint8_t arm_uc_default_psk[] = {
00062 
00063 };
00064 const uint8_t arm_uc_default_psk_size = sizeof(arm_uc_default_psk);
00065 const uint16_t arm_uc_default_psk_bits = sizeof(arm_uc_default_psk)*8;
00066 
00067 const uint8_t arm_uc_default_psk_id[] = {
00068 
00069 };
00070 const uint8_t arm_uc_default_psk_id_size = sizeof(arm_uc_default_psk_id);
00071 #endif