Edge Applications
Device Management
IoT
Contact Us
Login
Documentation
current
v4.12
v4.11
v4.10
v4.9
v4.8
v4.7
v4.6
v4.5
v4.4
v4.3
v4.2
v4.1
v4.0
v3.4
v3.3
Mistake on this page?
Email us
Main Page
Related Pages
Data Structures
Files
File List
Globals
mbed-cloud-client
mbed-cloud-client
MbedCloudClientConfig.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// Copyright 2016-2017 ARM Ltd.
3
//
4
// SPDX-License-Identifier: Apache-2.0
5
//
6
// Licensed under the Apache License, Version 2.0 (the "License");
7
// you may not use this file except in compliance with the License.
8
// You may obtain a copy of the License at
9
//
10
// http://www.apache.org/licenses/LICENSE-2.0
11
//
12
// Unless required by applicable law or agreed to in writing, software
13
// distributed under the License is distributed on an "AS IS" BASIS,
14
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
// See the License for the specific language governing permissions and
16
// limitations under the License.
17
// ----------------------------------------------------------------------------
18
19
#ifndef MBED_CLOUD_CLIENT_CONFIG_H
20
#define MBED_CLOUD_CLIENT_CONFIG_H
21
22
#include <stdint.h>
23
32
// Include configurations from mbed-client.
33
#include "mbed-client/m2mconfig.h"
34
35
// Include user defined configuration.
36
#ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
37
#include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
38
#endif
39
40
#ifdef MBED_CLIENT_USER_CONFIG_FILE
41
#include MBED_CLIENT_USER_CONFIG_FILE
42
#endif
43
44
#if defined (__ICCARM__)
45
#define m2m_deprecated
46
#else
47
#define m2m_deprecated __attribute__ ((deprecated))
48
#endif
49
55
#ifndef MBED_CLOUD_CLIENT_ENDPOINT_TYPE
56
#define MBED_CLOUD_CLIENT_ENDPOINT_TYPE "default"
57
#endif
58
65
#ifndef MBED_CLOUD_CLIENT_LIFETIME
66
#define MBED_CLOUD_CLIENT_LIFETIME 86400
67
#endif
68
83
#if !defined(MBED_CLOUD_CLIENT_TRANSPORT_MODE_TCP) && !defined(MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP) && !defined(MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP_QUEUE)
84
#define MBED_CLOUD_CLIENT_TRANSPORT_MODE_TCP
85
#endif
86
96
#ifndef MBED_CLOUD_CLIENT_STL_API
97
#define MBED_CLOUD_CLIENT_STL_API 0
98
#endif
99
108
#ifndef MBED_CLOUD_CLIENT_STD_NAMESPACE_POLLUTION
109
#define MBED_CLOUD_CLIENT_STD_NAMESPACE_POLLUTION 0
110
#endif
111
118
#ifndef MBED_CLOUD_CLIENT_LISTEN_PORT
119
#define MBED_CLOUD_CLIENT_LISTEN_PORT 0
120
#endif
121
122
#include "
MbedCloudClientConfigCheck.h
"
123
124
#endif // MBED_CLOUD_CLIENT_CONFIG_H
MbedCloudClientConfigCheck.h
Configuration options check.