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 
27 #ifndef LWM2M_CLIENT_CONFIG_H
28 #define LWM2M_CLIENT_CONFIG_H
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
37 #ifndef CONFIG_LWM2M_STANDARD_PORT
38 #define CONFIG_LWM2M_STANDARD_PORT "5683"
39 #endif
40 
44 #ifndef CONFIG_LWM2M_DTLS_PORT
45 #define CONFIG_LWM2M_DTLS_PORT "5684"
46 #endif
47 
51 #ifndef CONFIG_LWM2M_BSSERVER_PORT
52 #define CONFIG_LWM2M_BSSERVER_PORT "5685"
53 #endif
54 
58 #ifndef CONFIG_LWM2M_LOCAL_PORT
59 #define CONFIG_LWM2M_LOCAL_PORT "5683"
60 #endif
61 
65 #ifndef CONFIG_LWM2M_DEVICE_NAME
66 #define CONFIG_LWM2M_DEVICE_NAME "testRIOTDevice"
67 #endif
68 
72 #ifndef CONFIG_LWM2M_DEVICE_TTL
73 #define CONFIG_LWM2M_DEVICE_TTL 300
74 #endif
75 
82 #ifndef CONFIG_LWM2M_SERVER_URI
83 #define CONFIG_LWM2M_SERVER_URI "coap://[fd00:dead:beef::1]"
84 #endif
85 
89 #ifndef CONFIG_LWM2M_SERVER_ID
90 #define CONFIG_LWM2M_SERVER_ID 10
91 #endif
92 
96 #ifndef CONFIG_LWM2M_ALT_PATH
97 #define CONFIG_LWM2M_ALT_PATH NULL
98 #endif
99 
109 #ifdef DOXYGEN
110 #define CONFIG_LWM2M_BOOTSTRAP
111 #endif
112 
116 #ifndef CONFIG_LWM2M_DEVICE_MANUFACTURER
117 #define CONFIG_LWM2M_DEVICE_MANUFACTURER "A RIOT maker"
118 #endif
119 
125 #ifndef CONFIG_LWM2M_DEVICE_MODEL
126 #define CONFIG_LWM2M_DEVICE_MODEL RIOT_BOARD
127 #endif
128 
132 #ifndef CONFIG_LWM2M_DEVICE_SERIAL
133 #define CONFIG_LWM2M_DEVICE_SERIAL "undefined"
134 #endif
135 
141 #ifndef CONFIG_LWM2M_DEVICE_FW_VERSION
142 #define CONFIG_LWM2M_DEVICE_FW_VERSION RIOT_VERSION
143 #endif
144 
159 #ifdef DOXYGEN
160 
163 #define CONFIG_LWM2M_DEVICE_BINDING_U
164 
168 #define CONFIG_LWM2M_DEVICE_BINDING_UQ
169 
173 #define CONFIG_LWM2M_DEVICE_BINDING_S
174 
178 #define CONFIG_LWM2M_DEVICE_BINDING_SQ
179 
183 #define CONFIG_LWM2M_DEVICE_BINDING_US
184 
188 #define CONFIG_LWM2M_DEVICE_BINDING_UQS
189 #endif
190 
195 #ifndef CONFIG_LWM2M_DEVICE_TYPE
196 #define CONFIG_LWM2M_DEVICE_TYPE "RIOT device"
197 #endif
198 
204 #ifndef CONFIG_LWM2M_DEVICE_HW_VERSION
205 #define CONFIG_LWM2M_DEVICE_HW_VERSION RIOT_BOARD
206 #endif
207 
213 #ifndef CONFIG_LWM2M_DEVICE_SW_VERSION
214 #define CONFIG_LWM2M_DEVICE_SW_VERSION RIOT_VERSION
215 #endif
216 
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 
241 #endif /* LWM2M_CLIENT_CONFIG_H */