pelion-example-common-DISCO_F413ZH

Committer:
cvasilak
Date:
Mon Jan 27 16:29:54 2020 +0000
Revision:
28:f3b254af78b2
Parent:
27:8b5b0fc59d47
blinking pattern refactoring

Who changed what in which revision?

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