Example using the UBLOX_C030_U201 board to communicate over a cellular link with Mbed Cloud.

Committer:
MarceloSalazar
Date:
Sun Oct 14 17:06:16 2018 +0100
Revision:
2:a34e80e223c2
Parent:
1:eabbeaa37715
Add support for FW Update

Who changed what in which revision?

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