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