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

File defining all system build time configuration used by mbed-client. More...

#include <stddef.h>
#include "mbed-client/m2mversion.h"

Go to the source code of this file.

Data Structures

struct  mbedtls_entropy
 

Macros

#define m2m_deprecated   __attribute__ ((deprecated))
 
#define MAX_CERTIFICATE_SIZE   1024
 
#define MBED_CONF_MBED_CLIENT_ENABLE_OBSERVATION_PARAMETERS   1
 
#define MBED_CONF_MBED_CLIENT_ENABLE_DISCOVERY   1
 
#define MBED_CLIENT_BOOTSTRAP_PIGGYBACKED_RESPONSE   1
 
#define MBED_CLIENT_MAX_RECONNECT_TIMEOUT   14400
 
#define MBED_CLIENT_RECONNECTION_COUNT   3
 Sets Reconnection count for mbed Client to attempt a reconnection re-tries until reaches the defined value either by the application or the default value set in Client. By default, the value is 3.
 
#define MBED_CLIENT_TCP_KEEPALIVE_INTERVAL   540
 The number of seconds between CoAP ping messages. By default, the value is 90 seconds.
 
#define MBED_CLIENT_EVENT_LOOP_SIZE   1024
 Defines the size of memory allocated for event loop (in bytes) for timer and network event handling of mbed Client. By default, this value is 1024 bytes.This memory is allocated from heap.
 
#define SN_COAP_MAX_INCOMING_MESSAGE_SIZE   UINT16_MAX
 
#define MBED_CLIENT_SN_COAP_RESENDING_QUEUE_SIZE_MSGS   5
 CoAP resend queue size. mbed Client can send five types of confirmable messages at the same time, notification, file download, register update, delayed post response and ping. More...
 
#define MBED_CLIENT_ENABLE_DYNAMIC_OBSERVABLE   1
 

Typedefs

typedef uint32_t(* random_number_cb) (void)
 
typedef struct mbedtls_entropy entropy_cb
 

Detailed Description

File defining all system build time configuration used by mbed-client.

Macro Definition Documentation

#define MBED_CLIENT_SN_COAP_RESENDING_QUEUE_SIZE_MSGS   5

CoAP resend queue size. mbed Client can send five types of confirmable messages at the same time, notification, file download, register update, delayed post response and ping.

Note
Reducing this value can cause some resend queue which may lead to unnecessary full registrations. By default, the message count is 5.