This repository contains the example code to: 1) Connect RTL8195AM board to Pelion 2) Enable and run firmware update on RTL8195AM
RTL8195AM SMCC application demonstrates how to create a Simple Mbed Cloud Client application that can connect to Pelion, register resources and get FW updates.
Diff: mbed_cloud_client_user_config.h
- Revision:
- 1:fe5f4acd0b5e
- Parent:
- 0:07e701513236
--- a/mbed_cloud_client_user_config.h Mon Mar 12 19:11:01 2018 +0800 +++ b/mbed_cloud_client_user_config.h Fri Jun 15 21:14:11 2018 +0530 @@ -22,8 +22,11 @@ #ifndef MBED_CLOUD_CLIENT_USER_CONFIG_H #define MBED_CLOUD_CLIENT_USER_CONFIG_H - +#ifdef MBED_CONF_APP_ENDPOINT_TYPE +#define MBED_CLOUD_CLIENT_ENDPOINT_TYPE MBED_CONF_APP_ENDPOINT_TYPE +#else #define MBED_CLOUD_CLIENT_ENDPOINT_TYPE "default" +#endif // Enable either TCP or UDP, but no both #define MBED_CLOUD_CLIENT_TRANSPORT_MODE_TCP