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