Add support for Connect and FW Update

Fork of example-Ethernet-mbed-Cloud-connect by ST

Committer:
MarceloSalazar
Date:
Mon Oct 15 01:13:24 2018 +0100
Revision:
14:13ea72e8475c
Parent:
6:2d0e0866f2e7
Add support for FW Update

Who changed what in which revision?

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