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 m2m_deprecated   __attribute__ ((deprecated))
 
#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_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_TCP
 Enable this MACRO if you want to enable TCP mode for the client. This is the default for client.
 
#define MBED_CLOUD_CLIENT_STL_API   0
 
#define MBED_CLOUD_CLIENT_STD_NAMESPACE_POLLUTION   0
 
#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.