Christos Vasilakis
/
pelion-example-common-DISCO_F413ZH
pelion-example-common-DISCO_F413ZH
mbed_cloud_dev_credentials.c@19:7e760f65ed78, 2019-02-19 (annotated)
- Committer:
- screamer
- Date:
- Tue Feb 19 22:34:59 2019 +0000
- Revision:
- 19:7e760f65ed78
- Parent:
- 3:108c0af2b7c8
- Child:
- 26:25ac72eedf55
Updated to Mbed OS 5.11.4 and SMCC 2.1.1.2. Added support for DISCO_F769NI, NUCLEO_F412ZG and NUCLEO_L4R5ZI
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 3:108c0af2b7c8 | 1 | /* |
screamer | 3:108c0af2b7c8 | 2 | * Copyright (c) 2017 ARM Limited. All rights reserved. |
screamer | 3:108c0af2b7c8 | 3 | * SPDX-License-Identifier: Apache-2.0 |
screamer | 3:108c0af2b7c8 | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
screamer | 3:108c0af2b7c8 | 5 | * not use this file except in compliance with the License. |
screamer | 3:108c0af2b7c8 | 6 | * You may obtain a copy of the License at |
screamer | 3:108c0af2b7c8 | 7 | * |
screamer | 3:108c0af2b7c8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
screamer | 3:108c0af2b7c8 | 9 | * |
screamer | 3:108c0af2b7c8 | 10 | * Unless required by applicable law or agreed to in writing, software |
screamer | 3:108c0af2b7c8 | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
screamer | 3:108c0af2b7c8 | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
screamer | 3:108c0af2b7c8 | 13 | * See the License for the specific language governing permissions and |
screamer | 3:108c0af2b7c8 | 14 | * limitations under the License. |
screamer | 3:108c0af2b7c8 | 15 | */ |
screamer | 3:108c0af2b7c8 | 16 | #ifndef __MBED_CLOUD_DEV_CREDENTIALS_H__ |
screamer | 3:108c0af2b7c8 | 17 | #define __MBED_CLOUD_DEV_CREDENTIALS_H__ |
screamer | 3:108c0af2b7c8 | 18 | |
screamer | 19:7e760f65ed78 | 19 | #if MBED_CONF_DEVICE_MANAGEMENT_DEVELOPER_MODE == 1 |
screamer | 3:108c0af2b7c8 | 20 | #error "Replace mbed_cloud_dev_credentials.c with your own developer cert." |
screamer | 3:108c0af2b7c8 | 21 | #endif |
screamer | 3:108c0af2b7c8 | 22 | |
screamer | 3:108c0af2b7c8 | 23 | #include <inttypes.h> |
screamer | 3:108c0af2b7c8 | 24 | |
screamer | 3:108c0af2b7c8 | 25 | const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = ""; |
screamer | 3:108c0af2b7c8 | 26 | const char MBED_CLOUD_DEV_ACCOUNT_ID[] = ""; |
screamer | 3:108c0af2b7c8 | 27 | const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = ""; |
screamer | 3:108c0af2b7c8 | 28 | |
screamer | 3:108c0af2b7c8 | 29 | const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] = |
screamer | 3:108c0af2b7c8 | 30 | { 0x0 }; |
screamer | 3:108c0af2b7c8 | 31 | |
screamer | 3:108c0af2b7c8 | 32 | const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE[] = |
screamer | 3:108c0af2b7c8 | 33 | { 0x0 }; |
screamer | 3:108c0af2b7c8 | 34 | |
screamer | 3:108c0af2b7c8 | 35 | const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY[] = |
screamer | 3:108c0af2b7c8 | 36 | { 0x0 }; |
screamer | 3:108c0af2b7c8 | 37 | |
screamer | 3:108c0af2b7c8 | 38 | const char MBED_CLOUD_DEV_MANUFACTURER[] = "dev_manufacturer"; |
screamer | 3:108c0af2b7c8 | 39 | |
screamer | 3:108c0af2b7c8 | 40 | const char MBED_CLOUD_DEV_MODEL_NUMBER[] = "dev_model_num"; |
screamer | 3:108c0af2b7c8 | 41 | |
screamer | 3:108c0af2b7c8 | 42 | const char MBED_CLOUD_DEV_SERIAL_NUMBER[] = "0"; |
screamer | 3:108c0af2b7c8 | 43 | |
screamer | 3:108c0af2b7c8 | 44 | const char MBED_CLOUD_DEV_DEVICE_TYPE[] = "dev_device_type"; |
screamer | 3:108c0af2b7c8 | 45 | |
screamer | 3:108c0af2b7c8 | 46 | const char MBED_CLOUD_DEV_HARDWARE_VERSION[] = "dev_hardware_version"; |
screamer | 3:108c0af2b7c8 | 47 | |
screamer | 3:108c0af2b7c8 | 48 | const uint32_t MBED_CLOUD_DEV_MEMORY_TOTAL_KB = 0; |
screamer | 3:108c0af2b7c8 | 49 | const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE); |
screamer | 3:108c0af2b7c8 | 50 | const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE); |
screamer | 3:108c0af2b7c8 | 51 | const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY); |
screamer | 3:108c0af2b7c8 | 52 | |
screamer | 3:108c0af2b7c8 | 53 | #endif //__MBED_CLOUD_DEV_CREDENTIALS_H__ |