Simple Mbed Cloud client application using features of K64F including Wi-Fi and SD Card
Fork of mbed-cloud-example_GR-LYCHEE by
Diff: mbed_cloud_client_user_config.h
- Revision:
- 9:9fade4bb2774
- Parent:
- 7:179a952c4a39
diff -r fcbf2aeb34c9 -r 9fade4bb2774 mbed_cloud_client_user_config.h --- a/mbed_cloud_client_user_config.h Thu Feb 22 10:34:36 2018 +0000 +++ b/mbed_cloud_client_user_config.h Wed Apr 25 00:16:01 2018 +0100 @@ -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