NuMaker Pelion Device Management example

Fork of mbed-os-example-pelion by cc li

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