Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXAS21002 FXOS8700Q
simple-mbed-cloud-client/mbed-cloud-client/source/include/UpdateClientResources.h@0:977e87915078, 2019-08-28 (annotated)
- Committer:
- vithyat
- Date:
- Wed Aug 28 19:24:56 2019 +0000
- Revision:
- 0:977e87915078
init
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vithyat | 0:977e87915078 | 1 | // ---------------------------------------------------------------------------- |
vithyat | 0:977e87915078 | 2 | // Copyright 2016-2017 ARM Ltd. |
vithyat | 0:977e87915078 | 3 | // |
vithyat | 0:977e87915078 | 4 | // SPDX-License-Identifier: Apache-2.0 |
vithyat | 0:977e87915078 | 5 | // |
vithyat | 0:977e87915078 | 6 | // Licensed under the Apache License, Version 2.0 (the "License"); |
vithyat | 0:977e87915078 | 7 | // you may not use this file except in compliance with the License. |
vithyat | 0:977e87915078 | 8 | // You may obtain a copy of the License at |
vithyat | 0:977e87915078 | 9 | // |
vithyat | 0:977e87915078 | 10 | // http://www.apache.org/licenses/LICENSE-2.0 |
vithyat | 0:977e87915078 | 11 | // |
vithyat | 0:977e87915078 | 12 | // Unless required by applicable law or agreed to in writing, software |
vithyat | 0:977e87915078 | 13 | // distributed under the License is distributed on an "AS IS" BASIS, |
vithyat | 0:977e87915078 | 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vithyat | 0:977e87915078 | 15 | // See the License for the specific language governing permissions and |
vithyat | 0:977e87915078 | 16 | // limitations under the License. |
vithyat | 0:977e87915078 | 17 | // ---------------------------------------------------------------------------- |
vithyat | 0:977e87915078 | 18 | |
vithyat | 0:977e87915078 | 19 | #ifndef MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H |
vithyat | 0:977e87915078 | 20 | #define MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H |
vithyat | 0:977e87915078 | 21 | |
vithyat | 0:977e87915078 | 22 | #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE |
vithyat | 0:977e87915078 | 23 | #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE |
vithyat | 0:977e87915078 | 24 | #endif |
vithyat | 0:977e87915078 | 25 | |
vithyat | 0:977e87915078 | 26 | #ifdef MBED_CLOUD_CLIENT_SUPPORT_UPDATE |
vithyat | 0:977e87915078 | 27 | #include "update-client-hub/update_client_hub.h" |
vithyat | 0:977e87915078 | 28 | #endif |
vithyat | 0:977e87915078 | 29 | |
vithyat | 0:977e87915078 | 30 | #include <stdint.h> |
vithyat | 0:977e87915078 | 31 | |
vithyat | 0:977e87915078 | 32 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 33 | extern "C" { |
vithyat | 0:977e87915078 | 34 | #endif |
vithyat | 0:977e87915078 | 35 | |
vithyat | 0:977e87915078 | 36 | #ifdef MBED_CLOUD_DEV_UPDATE_ID |
vithyat | 0:977e87915078 | 37 | extern const uint8_t arm_uc_vendor_id[]; |
vithyat | 0:977e87915078 | 38 | extern const uint16_t arm_uc_vendor_id_size; |
vithyat | 0:977e87915078 | 39 | extern const uint8_t arm_uc_class_id[]; |
vithyat | 0:977e87915078 | 40 | extern const uint16_t arm_uc_class_id_size; |
vithyat | 0:977e87915078 | 41 | #endif |
vithyat | 0:977e87915078 | 42 | |
vithyat | 0:977e87915078 | 43 | #ifdef MBED_CLOUD_DEV_UPDATE_CERT |
vithyat | 0:977e87915078 | 44 | extern const uint8_t arm_uc_default_fingerprint[]; |
vithyat | 0:977e87915078 | 45 | extern const uint16_t arm_uc_default_fingerprint_size; |
vithyat | 0:977e87915078 | 46 | extern const uint8_t arm_uc_default_certificate[]; |
vithyat | 0:977e87915078 | 47 | extern const uint16_t arm_uc_default_certificate_size; |
vithyat | 0:977e87915078 | 48 | #endif |
vithyat | 0:977e87915078 | 49 | |
vithyat | 0:977e87915078 | 50 | #ifdef MBED_CLOUD_DEV_UPDATE_PSK |
vithyat | 0:977e87915078 | 51 | extern const uint8_t arm_uc_default_psk[]; |
vithyat | 0:977e87915078 | 52 | extern uint16_t arm_uc_default_psk_bits; |
vithyat | 0:977e87915078 | 53 | #endif |
vithyat | 0:977e87915078 | 54 | |
vithyat | 0:977e87915078 | 55 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 56 | } |
vithyat | 0:977e87915078 | 57 | #endif |
vithyat | 0:977e87915078 | 58 | |
vithyat | 0:977e87915078 | 59 | #endif // MBED_CLOUD_CLIENT_UPDATE_RESOURCES_H |