NuMaker Pelion Device Management example

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

Committer:
ccli8
Date:
Thu Aug 05 15:06:55 2021 +0800
Revision:
18:029355615cc7
Parent:
0:f78ec4a22e67
Update to mbed-os 5.15.7, mcc 4.10.0, and NUSD

1. Update to mbed-os 5.15.7
2. Update ot mbed-cloud-client 4.10.0
3. Update NUSD

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ccli8 0:f78ec4a22e67 1 // ----------------------------------------------------------------------------
ccli8 0:f78ec4a22e67 2 // Copyright 2019 ARM Ltd.
ccli8 0:f78ec4a22e67 3 //
ccli8 0:f78ec4a22e67 4 // SPDX-License-Identifier: Apache-2.0
ccli8 0:f78ec4a22e67 5 //
ccli8 0:f78ec4a22e67 6 // Licensed under the Apache License, Version 2.0 (the "License");
ccli8 0:f78ec4a22e67 7 // you may not use this file except in compliance with the License.
ccli8 0:f78ec4a22e67 8 // You may obtain a copy of the License at
ccli8 0:f78ec4a22e67 9 //
ccli8 0:f78ec4a22e67 10 // http://www.apache.org/licenses/LICENSE-2.0
ccli8 0:f78ec4a22e67 11 //
ccli8 0:f78ec4a22e67 12 // Unless required by applicable law or agreed to in writing, software
ccli8 0:f78ec4a22e67 13 // distributed under the License is distributed on an "AS IS" BASIS,
ccli8 0:f78ec4a22e67 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ccli8 0:f78ec4a22e67 15 // See the License for the specific language governing permissions and
ccli8 0:f78ec4a22e67 16 // limitations under the License.
ccli8 0:f78ec4a22e67 17 // ----------------------------------------------------------------------------
ccli8 0:f78ec4a22e67 18
ccli8 0:f78ec4a22e67 19 #ifndef __MBED_CLOUD_DEV_CREDENTIALS_H__
ccli8 0:f78ec4a22e67 20 #define __MBED_CLOUD_DEV_CREDENTIALS_H__
ccli8 0:f78ec4a22e67 21
ccli8 0:f78ec4a22e67 22 #error "Replace mbed_cloud_dev_credentials.c with your own developer cert."
ccli8 0:f78ec4a22e67 23
ccli8 0:f78ec4a22e67 24 #include <inttypes.h>
ccli8 0:f78ec4a22e67 25
ccli8 0:f78ec4a22e67 26 const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = "";
ccli8 0:f78ec4a22e67 27 const char MBED_CLOUD_DEV_ACCOUNT_ID[] = "";
ccli8 0:f78ec4a22e67 28 const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "";
ccli8 0:f78ec4a22e67 29
ccli8 0:f78ec4a22e67 30 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] =
ccli8 0:f78ec4a22e67 31 { 0x0 };
ccli8 0:f78ec4a22e67 32
ccli8 0:f78ec4a22e67 33 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE[] =
ccli8 0:f78ec4a22e67 34 { 0x0 };
ccli8 0:f78ec4a22e67 35
ccli8 0:f78ec4a22e67 36 const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY[] =
ccli8 0:f78ec4a22e67 37 { 0x0 };
ccli8 0:f78ec4a22e67 38
ccli8 0:f78ec4a22e67 39 const char MBED_CLOUD_DEV_MANUFACTURER[] = "dev_manufacturer";
ccli8 0:f78ec4a22e67 40
ccli8 0:f78ec4a22e67 41 const char MBED_CLOUD_DEV_MODEL_NUMBER[] = "dev_model_num";
ccli8 0:f78ec4a22e67 42
ccli8 0:f78ec4a22e67 43 const char MBED_CLOUD_DEV_SERIAL_NUMBER[] = "0";
ccli8 0:f78ec4a22e67 44
ccli8 0:f78ec4a22e67 45 const char MBED_CLOUD_DEV_DEVICE_TYPE[] = "dev_device_type";
ccli8 0:f78ec4a22e67 46
ccli8 0:f78ec4a22e67 47 const char MBED_CLOUD_DEV_HARDWARE_VERSION[] = "dev_hardware_version";
ccli8 0:f78ec4a22e67 48
ccli8 0:f78ec4a22e67 49 const uint32_t MBED_CLOUD_DEV_MEMORY_TOTAL_KB = 0;
ccli8 0:f78ec4a22e67 50 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE);
ccli8 0:f78ec4a22e67 51 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_SERVER_ROOT_CA_CERTIFICATE);
ccli8 0:f78ec4a22e67 52 const uint32_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY_SIZE = sizeof(MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_PRIVATE_KEY);
ccli8 0:f78ec4a22e67 53
ccli8 0:f78ec4a22e67 54 #endif //__MBED_CLOUD_DEV_CREDENTIALS_H__