Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers UpdateClientResources.h Source File

UpdateClientResources.h

00001 // ----------------------------------------------------------------------------
00002 // Copyright 2016-2017 ARM Ltd.
00003 //
00004 // SPDX-License-Identifier: Apache-2.0
00005 //
00006 // Licensed under the Apache License, Version 2.0 (the "License");
00007 // you may not use this file except in compliance with the License.
00008 // You may obtain a copy of the License at
00009 //
00010 //     http://www.apache.org/licenses/LICENSE-2.0
00011 //
00012 // Unless required by applicable law or agreed to in writing, software
00013 // distributed under the License is distributed on an "AS IS" BASIS,
00014 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015 // See the License for the specific language governing permissions and
00016 // limitations under the License.
00017 // ----------------------------------------------------------------------------
00018 
00019 #ifndef MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H
00020 #define MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H
00021 
00022 #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00023 #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00024 #endif
00025 
00026 #ifdef MBED_CLOUD_CLIENT_SUPPORT_UPDATE
00027 #include "update-client-hub/update_client_hub.h"
00028 #endif
00029 
00030 #include <stdint.h>
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00036 #ifdef MBED_CLOUD_DEV_UPDATE_ID
00037 extern const uint8_t arm_uc_vendor_id[];
00038 extern const uint16_t arm_uc_vendor_id_size;
00039 extern const uint8_t arm_uc_class_id[];
00040 extern const uint16_t arm_uc_class_id_size;
00041 #endif
00042 
00043 #ifdef MBED_CLOUD_DEV_UPDATE_CERT
00044 extern const uint8_t arm_uc_default_fingerprint[];
00045 extern const uint16_t arm_uc_default_fingerprint_size;
00046 extern const uint8_t arm_uc_default_certificate[];
00047 extern const uint16_t arm_uc_default_certificate_size;
00048 #endif
00049 
00050 #ifdef MBED_CLOUD_DEV_UPDATE_PSK
00051 extern const uint8_t arm_uc_default_psk[];
00052 extern uint16_t arm_uc_default_psk_bits;
00053 #endif
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 
00059 #endif // MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H