lwm2m_client_config.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Beduino Master Projekt - University of Bremen
3 * 2019 HAW Hamburg
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
26#ifndef LWM2M_CLIENT_CONFIG_H
27#define LWM2M_CLIENT_CONFIG_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
36#ifndef CONFIG_LWM2M_STANDARD_PORT
37#define CONFIG_LWM2M_STANDARD_PORT "5683"
38#endif
39
43#ifndef CONFIG_LWM2M_DTLS_PORT
44#define CONFIG_LWM2M_DTLS_PORT "5684"
45#endif
46
50#ifndef CONFIG_LWM2M_BSSERVER_PORT
51#define CONFIG_LWM2M_BSSERVER_PORT "5685"
52#endif
53
57#ifndef CONFIG_LWM2M_LOCAL_PORT
58#define CONFIG_LWM2M_LOCAL_PORT "5683"
59#endif
60
64#ifndef CONFIG_LWM2M_DEVICE_NAME
65#define CONFIG_LWM2M_DEVICE_NAME "testRIOTDevice"
66#endif
67
71#ifndef CONFIG_LWM2M_DEVICE_TTL
72#define CONFIG_LWM2M_DEVICE_TTL 300
73#endif
74
81#ifndef CONFIG_LWM2M_SERVER_URI
82#define CONFIG_LWM2M_SERVER_URI "coap://[fd00:dead:beef::1]"
83#endif
84
88#ifndef CONFIG_LWM2M_SERVER_ID
89#define CONFIG_LWM2M_SERVER_ID 10
90#endif
91
95#ifndef CONFIG_LWM2M_ALT_PATH
96#define CONFIG_LWM2M_ALT_PATH NULL
97#endif
98
108#ifdef DOXYGEN
109#define CONFIG_LWM2M_BOOTSTRAP
110#endif
111
115#ifndef CONFIG_LWM2M_DEVICE_MANUFACTURER
116#define CONFIG_LWM2M_DEVICE_MANUFACTURER "A RIOT maker"
117#endif
118
124#ifndef CONFIG_LWM2M_DEVICE_MODEL
125#define CONFIG_LWM2M_DEVICE_MODEL RIOT_BOARD
126#endif
127
131#ifndef CONFIG_LWM2M_DEVICE_SERIAL
132#define CONFIG_LWM2M_DEVICE_SERIAL "undefined"
133#endif
134
140#ifndef CONFIG_LWM2M_DEVICE_FW_VERSION
141#define CONFIG_LWM2M_DEVICE_FW_VERSION RIOT_VERSION
142#endif
143
158#ifdef DOXYGEN
162#define CONFIG_LWM2M_DEVICE_BINDING_U
163
167#define CONFIG_LWM2M_DEVICE_BINDING_UQ
168
172#define CONFIG_LWM2M_DEVICE_BINDING_S
173
177#define CONFIG_LWM2M_DEVICE_BINDING_SQ
178
182#define CONFIG_LWM2M_DEVICE_BINDING_US
183
187#define CONFIG_LWM2M_DEVICE_BINDING_UQS
188#endif
194#ifndef CONFIG_LWM2M_DEVICE_TYPE
195#define CONFIG_LWM2M_DEVICE_TYPE "RIOT device"
196#endif
197
203#ifndef CONFIG_LWM2M_DEVICE_HW_VERSION
204#define CONFIG_LWM2M_DEVICE_HW_VERSION RIOT_BOARD
205#endif
206
212#ifndef CONFIG_LWM2M_DEVICE_SW_VERSION
213#define CONFIG_LWM2M_DEVICE_SW_VERSION RIOT_VERSION
214#endif
215
221#if defined(CONFIG_LWM2M_DEVICE_BINDING_U)
222#define CONFIG_LWM2M_DEVICE_BINDINGS "U"
223#elif defined(CONFIG_LWM2M_DEVICE_BINDING_UQ)
224#define CONFIG_LWM2M_DEVICE_BINDINGS "UQ"
225#elif defined(CONFIG_LWM2M_DEVICE_BINDING_S)
226#define CONFIG_LWM2M_DEVICE_BINDINGS "S"
227#elif defined(CONFIG_LWM2M_DEVICE_BINDING_SQ)
228#define CONFIG_LWM2M_DEVICE_BINDINGS "SQ"
229#elif defined(CONFIG_LWM2M_DEVICE_BINDING_US)
230#define CONFIG_LWM2M_DEVICE_BINDINGS "US"
231#elif defined(CONFIG_LWM2M_DEVICE_BINDING_UQS)
232#define CONFIG_LWM2M_DEVICE_BINDINGS "UQS"
233#else
234#define CONFIG_LWM2M_DEVICE_BINDINGS "U"
235#endif
236
237#ifdef __cplusplus
238}
239#endif
240#endif /* LWM2M_CLIENT_CONFIG_H */