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