Updated version to work with K64 and FW Update

Fork of mbed-cloud-connect-example-ethernet by NXP

Committer:
MarceloSalazar
Date:
Thu Sep 06 14:22:28 2018 +0100
Revision:
22:ca861d3f7a6c
Restore update_default_resources.c

Who changed what in which revision?

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