Mbed OS and Pelion Device Management hands-on workshop - connect and firmware update service

Committer:
MACRUM
Date:
Tue Oct 30 15:08:15 2018 +0900
Revision:
0:202fb3cf8be8
Add DISCO_L475VG_IOT01A with QSPIF

Who changed what in which revision?

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