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