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