Mistake on this page? Email us
MbedCloudClientConfig.h File Reference

Configuration options (set of defines and values). More...

#include <stdint.h>
#include "mbed-client/m2mconfig.h"
#include "MbedCloudClientConfigCheck.h"

Go to the source code of this file.

Macros

#define MBED_CLOUD_CLIENT_ENDPOINT_TYPE   "default"
 This is an optional MACRO. You can define it like this #define MBED_CLOUD_CLIENT_ENDPOINT_TYPE "default".
 
#define MBED_CLOUD_CLIENT_PROFILE_FULL   1
 
#define MBED_CLOUD_CLIENT_PROFILE_LITE   2
 
#define MBED_CLOUD_CLIENT_PROFILE   MBED_CLOUD_CLIENT_PROFILE_FULL
 
#define MBED_CLOUD_CLIENT_LIFETIME   86400
 This is optional MACRO. You can define it like this: #define MBED_CLOUD_CLIENT_LIFETIME 86400. This value denotes time in seconds.
 
#define MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP
 Enable this MACRO if you want to enable UDP mode for the client.
 
#define MBED_CLOUD_CLIENT_TRANSPORT_MODE_TCP
 Enable this MACRO if you want to enable TCP mode for the client. This is the default for client.
 
#define MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP_QUEUE
 Enable this MACRO if you want to enable UDP_QUEUE mode for the client.
 
#define MBED_CLOUD_CLIENT_LISTEN_PORT   0
 This is mandatory MACRO and is set to 0 by default. This implies that the client picks a random port for listening to the incoming connection.
 

Detailed Description

Configuration options (set of defines and values).

This lists a set of compile-time options that needs to be used to enable or disable features selectively, and set the values for the mandatory parameters.