You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+16-16
Original file line number
Diff line number
Diff line change
@@ -55,15 +55,15 @@ The different settings can be configured with CMake cache variables (e.g. `cmake
55
55
56
56
Wakaama supports multiple modes. At least one mode needs to be defined with CMake cache variables.
57
57
58
-
- WAKAAMA_MODE_SERVER to enable LWM2M Server interfaces.
59
-
- WAKAAMA_MODE_BOOTSTRAP_SERVER to enable LWM2M Bootstrap Server interfaces.
60
-
- WAKAAMA_MODE_CLIENT to enable LWM2M Client interfaces.
58
+
- WAKAAMA_MODE_SERVER to enable LwM2M Server interfaces.
59
+
- WAKAAMA_MODE_BOOTSTRAP_SERVER to enable LwM2M Bootstrap Server interfaces.
60
+
- WAKAAMA_MODE_CLIENT to enable LwM2M Client interfaces.
61
61
62
62
#### Client Settings
63
63
64
64
Wakaama supports additional client related options. These are only available if the client mode is enabled.
65
65
66
-
- WAKAAMA_CLIENT_INITIATED_BOOTSTRAP to enable LWM2M Bootstrap support in a LWM2M Client.
66
+
- WAKAAMA_CLIENT_INITIATED_BOOTSTRAP to enable LwM2M Bootstrap support in a LWM2M Client.
67
67
- WAKAAMA_CLIENT_LWM2M_V_1_0: Restrict the client code to use LwM2M version 1.0
68
68
69
69
Please note: LwM2M version 1.0 is only supported by clients, while servers are backward compatible.
@@ -72,10 +72,10 @@ Please note: LwM2M version 1.0 is only supported by clients, while servers are b
72
72
73
73
The following data formats are configurable for Wakaama:
74
74
75
-
- WAKAAMA_DATA_TLV to enable TLV payload support (implicit except for LWM2M 1.1 clients)
75
+
- WAKAAMA_DATA_TLV to enable TLV payload support (implicit except for LwM2M 1.1 clients)
76
76
- WAKAAMA_DATA_JSON to enable JSON payload support (implicit when defining LWM2M_SERVER_MODE)
77
-
- WAKAAMA_DATA_SENML_JSON to enable SenML JSON payload support (implicit for LWM2M 1.1 or greater when defining LWM2M_SERVER_MODE or LWM2M_BOOTSTRAP_SERVER_MODE)
78
-
- WAKAAMA_DATA_SENML_CBOR to enable SenML CBOR payload support (implicit for LWM2M 1.1 or greater when defining LWM2M_SERVER_MODE or LWM2M_BOOTSTRAP_SERVER_MODE)
77
+
- WAKAAMA_DATA_SENML_JSON to enable SenML JSON payload support (implicit for LwM2M 1.1 or greater when defining LWM2M_SERVER_MODE or LWM2M_BOOTSTRAP_SERVER_MODE)
78
+
- WAKAAMA_DATA_SENML_CBOR to enable SenML CBOR payload support (implicit for LwM2M 1.1 or greater when defining LWM2M_SERVER_MODE or LWM2M_BOOTSTRAP_SERVER_MODE)
79
79
- WAKAAMA_DATA_SENML_CBOR_FLOAT16_SUPPORT to enable 16-bit floating point encoding support in CBOR.
80
80
- WAKAAMA_DATA_OLD_CONTENT_FORMAT to support the deprecated content format values for TLV and JSON.
81
81
@@ -192,7 +192,7 @@ interface. Type 'help' for a list of supported commands.
192
192
Options are:
193
193
```
194
194
Usage: lwm2mserver [OPTION]
195
-
Launch a LWM2M server on localhost.
195
+
Launch a LwM2M server on localhost.
196
196
197
197
Options:
198
198
-4 Use IPv4 connection. Default: IPv6 connection
@@ -208,12 +208,12 @@ Options:
208
208
209
209
Next to lwm2mclient a DTLS enabled variant named lwm2mclient_tinydtls gets built.
210
210
211
-
The lwm2mclient features nine LWM2M objects:
211
+
The lwm2mclient features nine LwM2M objects:
212
212
- Security Object (id: 0)
213
213
- Server Object (id: 1)
214
214
- Access Control Object (id: 2) as a skeleton
215
215
- Device Object (id: 3) containing hard-coded values from the Example LWM2M
216
-
Client of Appendix E of the LWM2M Technical Specification.
216
+
Client of Appendix E of the LwM2M Technical Specification.
217
217
- Connectivity Monitoring Object (id: 4) as a skeleton
218
218
- Firmware Update Object (id: 5) as a skeleton.
219
219
- Location Object (id: 6) as a skeleton.
@@ -231,19 +231,19 @@ The lwm2mclient features nine LWM2M objects:
231
231
exec | 2 | E | No | Yes | | |
232
232
dec | 3 | R/W | No | Yes | Float | |
233
233
234
-
The lwm2mclient opens UDP port 56830 and tries to register to a LWM2M Server at
234
+
The lwm2mclient opens UDP port 56830 and tries to register to a LwM2M Server at
235
235
127.0.0.1:5683. It features a basic command line interface. Type 'help' for a
236
236
list of supported commands.
237
237
238
238
Options are:
239
239
```
240
240
Usage: lwm2mclient [OPTION]
241
-
Launch a LWM2M client.
241
+
Launch a LwM2M client.
242
242
Options:
243
243
-n NAME Set the endpoint name of the Client. Default: testlwm2mclient
244
244
-l PORT Set the local UDP port of the Client. Default: 56830
245
-
-h HOST Set the hostname of the LWM2M Server to connect to. Default: localhost
246
-
-p PORT Set the port of the LWM2M Server to connect to. Default: 5683
245
+
-h HOST Set the hostname of the LwM2M Server to connect to. Default: localhost
246
+
-p PORT Set the port of the LwM2M Server to connect to. Default: 5683
247
247
-4 Use IPv4 connection. Default: IPv6 connection
248
248
-t TIME Set the lifetime of the Client. Default: 300
249
249
-b Bootstrap requested.
@@ -272,15 +272,15 @@ LWM2M objects:
272
272
- Security Object (id: 0)
273
273
- Server Object (id: 1)
274
274
- Device Object (id: 3) containing hard-coded values from the Example LWM2M
275
-
Client of Appendix E of the LWM2M Technical Specification.
275
+
Client of Appendix E of the LwM2M Technical Specification.
276
276
- Test Object (id: 31024) from the lwm2mclient as described above.
277
277
278
278
The lightclient does not feature any command-line interface.
279
279
280
280
Options are:
281
281
```
282
282
Usage: lwm2mclient [OPTION]
283
-
Launch a LWM2M client.
283
+
Launch a LwM2M client.
284
284
Options:
285
285
-n NAME Set the endpoint name of the Client. Default: testlightclient
286
286
-l PORT Set the local UDP port of the Client. Default: 56830
0 commit comments