leo hendrickson
/
S
gfg
update_default_resources.c@0:25fa8795676b, 2021-04-18 (annotated)
- Committer:
- leothedragon
- Date:
- Sun Apr 18 15:20:23 2021 +0000
- Revision:
- 0:25fa8795676b
DS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
leothedragon | 0:25fa8795676b | 1 | // ---------------------------------------------------------------------------- |
leothedragon | 0:25fa8795676b | 2 | // Copyright 2016-2017 ARM Ltd. |
leothedragon | 0:25fa8795676b | 3 | // |
leothedragon | 0:25fa8795676b | 4 | // SPDX-License-Identifier: Apache-2.0 |
leothedragon | 0:25fa8795676b | 5 | // |
leothedragon | 0:25fa8795676b | 6 | // Licensed under the Apache License, Version 2.0 (the "License"); |
leothedragon | 0:25fa8795676b | 7 | // you may not use this file except in compliance with the License. |
leothedragon | 0:25fa8795676b | 8 | // You may obtain a copy of the License at |
leothedragon | 0:25fa8795676b | 9 | // |
leothedragon | 0:25fa8795676b | 10 | // http://www.apache.org/licenses/LICENSE-2.0 |
leothedragon | 0:25fa8795676b | 11 | // |
leothedragon | 0:25fa8795676b | 12 | // Unless required by applicable law or agreed to in writing, software |
leothedragon | 0:25fa8795676b | 13 | // distributed under the License is distributed on an "AS IS" BASIS, |
leothedragon | 0:25fa8795676b | 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
leothedragon | 0:25fa8795676b | 15 | // See the License for the specific language governing permissions and |
leothedragon | 0:25fa8795676b | 16 | // limitations under the License. |
leothedragon | 0:25fa8795676b | 17 | // ---------------------------------------------------------------------------- |
leothedragon | 0:25fa8795676b | 18 | |
leothedragon | 0:25fa8795676b | 19 | #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE |
leothedragon | 0:25fa8795676b | 20 | #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE |
leothedragon | 0:25fa8795676b | 21 | #endif |
leothedragon | 0:25fa8795676b | 22 | |
leothedragon | 0:25fa8795676b | 23 | #include <stdint.h> |
leothedragon | 0:25fa8795676b | 24 | |
leothedragon | 0:25fa8795676b | 25 | #ifdef MBED_CLOUD_DEV_UPDATE_ID |
leothedragon | 0:25fa8795676b | 26 | const uint8_t arm_uc_vendor_id[16] = { "dev_manufacturer" }; |
leothedragon | 0:25fa8795676b | 27 | const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id); |
leothedragon | 0:25fa8795676b | 28 | |
leothedragon | 0:25fa8795676b | 29 | const uint8_t arm_uc_class_id[16] = { "dev_model_number" }; |
leothedragon | 0:25fa8795676b | 30 | const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id); |
leothedragon | 0:25fa8795676b | 31 | #endif |
leothedragon | 0:25fa8795676b | 32 | |
leothedragon | 0:25fa8795676b | 33 | #ifdef MBED_CLOUD_DEV_UPDATE_CERT |
leothedragon | 0:25fa8795676b | 34 | const uint8_t arm_uc_default_fingerprint[32] = { 0 }; |
leothedragon | 0:25fa8795676b | 35 | const uint16_t arm_uc_default_fingerprint_size = |
leothedragon | 0:25fa8795676b | 36 | sizeof(arm_uc_default_fingerprint); |
leothedragon | 0:25fa8795676b | 37 | |
leothedragon | 0:25fa8795676b | 38 | const uint8_t arm_uc_default_certificate[1] = { 0 }; |
leothedragon | 0:25fa8795676b | 39 | const uint16_t arm_uc_default_certificate_size = |
leothedragon | 0:25fa8795676b | 40 | sizeof(arm_uc_default_certificate); |
leothedragon | 0:25fa8795676b | 41 | #endif |