Simple Mbed Cloud client application for NuMaker-PFM-M487 and NuMaker-PFM-NUC472 over Ethernet.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbed_cloud_dev_credentials.c Source File

mbed_cloud_dev_credentials.c

00001 /*
00002  * Copyright (c) 2017 ARM Limited. All rights reserved.
00003  * SPDX-License-Identifier: Apache-2.0
00004  * Licensed under the Apache License, Version 2.0 (the License); you may
00005  * not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #ifndef __MBED_CLOUD_DEV_CREDENTIALS_H__
00017 #define __MBED_CLOUD_DEV_CREDENTIALS_H__
00018 
00019 #if MBED_CONF_APP_DEVELOPER_MODE == 1
00020 #error "Replace mbed_cloud_dev_credentials.c with your own developer cert."
00021 #endif
00022 
00023 #include <inttypes.h>
00024 
00025 const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = "";
00026 const char MBED_CLOUD_DEV_ACCOUNT_ID[] = "";
00027 const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "";
00028 
00029 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] =
00030 { 0x0 };
00031 
00032 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE[] =
00033 { 0x0 };
00034 
00035 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY[] =
00036 { 0x0 };
00037 
00038 const char MBED_CLOUD_DEV_MANUFACTURER[] = "dev_manufacturer";
00039 
00040 const char MBED_CLOUD_DEV_MODEL_NUMBER[] = "dev_model_num";
00041 
00042 const char MBED_CLOUD_DEV_SERIAL_NUMBER[] = "0";
00043 
00044 const char MBED_CLOUD_DEV_DEVICE_TYPE[] = "dev_device_type";
00045 
00046 const char MBED_CLOUD_DEV_HARDWARE_VERSION[] = "dev_hardware_version";
00047 
00048 const uint32_t MBED_CLOUD_DEV_MEMORY_TOTAL_KB = 0;
00049 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE);
00050 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE);
00051 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY);
00052 
00053 #endif //__MBED_CLOUD_DEV_CREDENTIALS_H__