Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Diff: update_default_resources.c
- Revision:
- 35:871447da961d
- Parent:
- 10:b27c962b3c3f
diff -r a5724eeaaf9d -r 871447da961d update_default_resources.c
--- a/update_default_resources.c Wed Mar 27 19:05:34 2019 +0000
+++ b/update_default_resources.c Wed Nov 11 17:32:22 2020 +0000
@@ -1,41 +1,71 @@
-// ----------------------------------------------------------------------------
-// Copyright 2016-2017 ARM Ltd.
-//
-// 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.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------
-
+
#ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
#include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
#endif
-
+
#include <stdint.h>
-
+
#ifdef MBED_CLOUD_DEV_UPDATE_ID
-const uint8_t arm_uc_vendor_id[16] = { "dev_manufacturer" };
+const uint8_t arm_uc_vendor_id[] = {
+ 0x92, 0xcc, 0x10, 0xb6, 0xab, 0x40, 0x5e, 0x30, 0x88, 0x6f, 0xa5, 0xcc, 0xc3, 0x22, 0xec, 0x24
+};
const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
-
-const uint8_t arm_uc_class_id[16] = { "dev_model_number" };
+
+const uint8_t arm_uc_class_id[] = {
+ 0xb2, 0x12, 0xef, 0xa1, 0xf1, 0xa0, 0x58, 0x7e, 0x9f, 0x34, 0xdc, 0x26, 0x5a, 0x1c, 0x58, 0xd5
+};
const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
#endif
-
+
#ifdef MBED_CLOUD_DEV_UPDATE_CERT
-const uint8_t arm_uc_default_fingerprint[32] = { 0 };
+const uint8_t arm_uc_default_fingerprint[] = {
+ 0xea, 0xce, 0xa3, 0x43, 0xcc, 0x90, 0xe2, 0xdf, 0x35, 0xe2, 0xd5, 0x19, 0x2b, 0x49, 0x16, 0xfd,
+ 0x65, 0x79, 0xae, 0xd3, 0x38, 0xf6, 0x82, 0xa0, 0x8e, 0xae, 0xdd, 0x3a, 0x51, 0x8b, 0xb9, 0x11
+};
const uint16_t arm_uc_default_fingerprint_size =
sizeof(arm_uc_default_fingerprint);
-
-const uint8_t arm_uc_default_certificate[1] = { 0 };
-const uint16_t arm_uc_default_certificate_size =
- sizeof(arm_uc_default_certificate);
-#endif
\ No newline at end of file
+
+const uint8_t arm_uc_default_subject_key_identifier[] = {
+};
+const uint16_t arm_uc_default_subject_key_identifier_size =
+ sizeof(arm_uc_default_subject_key_identifier);
+
+const uint8_t arm_uc_default_certificate[] = {
+ 0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x7a, 0xa1,
+ 0x31, 0x0b, 0x29, 0x20, 0xed, 0x29, 0x88, 0x73, 0x9a, 0xae, 0xf2, 0x86, 0x45, 0xc8, 0x03, 0xeb,
+ 0x02, 0xcc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14,
+ 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
+ 0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34,
+ 0x33, 0x39, 0x33, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, 0x30,
+ 0x30, 0x30, 0x30, 0x5a, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c,
+ 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 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, 0x8b, 0x48, 0x65, 0xa1, 0xcc, 0x93, 0x09, 0xe4, 0x2a, 0x9a, 0x20,
+ 0x4b, 0xb0, 0x88, 0xfa, 0xc6, 0xea, 0x1a, 0x14, 0x95, 0x58, 0x35, 0x5d, 0xc5, 0x71, 0xff, 0x1c,
+ 0x96, 0x58, 0x6e, 0x3a, 0xaa, 0x70, 0xdc, 0x15, 0x05, 0xff, 0xb5, 0x0c, 0x59, 0xd1, 0x7f, 0x83,
+ 0xc0, 0x66, 0xde, 0x71, 0xd5, 0xce, 0xd0, 0x33, 0xb9, 0x4f, 0x63, 0xa5, 0x2c, 0xa6, 0xb2, 0x9b,
+ 0x31, 0x2c, 0x77, 0xed, 0xe5, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f,
+ 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x13, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30,
+ 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x30, 0x0a, 0x06, 0x08, 0x2a,
+ 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0xcd, 0x99,
+ 0x0f, 0xab, 0x1d, 0x39, 0x99, 0x30, 0xe5, 0xad, 0x2d, 0x8b, 0x1a, 0x6b, 0xd7, 0x40, 0x48, 0x06,
+ 0xf5, 0x0d, 0x7d, 0x84, 0x37, 0x63, 0x9f, 0x2a, 0x7d, 0x76, 0x39, 0x6d, 0x31, 0xd9, 0x02, 0x20,
+ 0xda, 0x8e, 0x55, 0xfc, 0xbe, 0xdd, 0x2b, 0x0e, 0xbb, 0x36, 0x07, 0x2b, 0xf7, 0x8f, 0x8d, 0x7a,
+ 0xd2, 0x83, 0x66, 0xaa, 0x92, 0x8b, 0x3a, 0x7e, 0x91, 0xf7, 0x72, 0x3a, 0xaf, 0x06, 0x5a, 0xdf
+};
+const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate);
+#endif
+
+
+#ifdef MBED_CLOUD_DEV_UPDATE_PSK
+const uint8_t arm_uc_default_psk[] = {
+
+};
+const uint8_t arm_uc_default_psk_size = sizeof(arm_uc_default_psk);
+const uint16_t arm_uc_default_psk_bits = sizeof(arm_uc_default_psk)*8;
+
+const uint8_t arm_uc_default_psk_id[] = {
+
+};
+const uint8_t arm_uc_default_psk_id_size = sizeof(arm_uc_default_psk_id);
+#endif