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
@@ -189,7 +189,7 @@ interface. Type 'help' for a list of supported commands.
189
189
Options are:
190
190
```
191
191
Usage: lwm2mserver [OPTION]
192
-
Launch a LWM2M server on localhost.
192
+
Launch a LwM2M server on localhost.
193
193
194
194
Options:
195
195
-4 Use IPv4 connection. Default: IPv6 connection
@@ -205,12 +205,12 @@ Options:
205
205
206
206
Next to lwm2mclient there are also examples with DTLS enabled and with raw block1 transfer enabled.
207
207
208
-
The lwm2mclient features nine LWM2M objects:
208
+
The lwm2mclient features nine LwM2M objects:
209
209
- Security Object (id: 0)
210
210
- Server Object (id: 1)
211
211
- Access Control Object (id: 2) as a skeleton
212
212
- Device Object (id: 3) containing hard-coded values from the Example LWM2M
213
-
Client of Appendix E of the LWM2M Technical Specification.
213
+
Client of Appendix E of the LwM2M Technical Specification.
214
214
- Connectivity Monitoring Object (id: 4) as a skeleton
215
215
- Firmware Update Object (id: 5) as a skeleton.
216
216
- Location Object (id: 6) as a skeleton.
@@ -228,19 +228,19 @@ The lwm2mclient features nine LWM2M objects:
228
228
exec | 2 | E | No | Yes | | |
229
229
dec | 3 | R/W | No | Yes | Float | |
230
230
231
-
The lwm2mclient opens UDP port 56830 and tries to register to a LWM2M Server at
231
+
The lwm2mclient opens UDP port 56830 and tries to register to a LwM2M Server at
232
232
127.0.0.1:5683. It features a basic command line interface. Type 'help' for a
233
233
list of supported commands.
234
234
235
235
Options are:
236
236
```
237
237
Usage: lwm2mclient [OPTION]
238
-
Launch a LWM2M client.
238
+
Launch a LwM2M client.
239
239
Options:
240
240
-n NAME Set the endpoint name of the Client. Default: testlwm2mclient
241
241
-l PORT Set the local UDP port of the Client. Default: 56830
242
-
-h HOST Set the hostname of the LWM2M Server to connect to. Default: localhost
243
-
-p PORT Set the port of the LWM2M Server to connect to. Default: 5683
242
+
-h HOST Set the hostname of the LwM2M Server to connect to. Default: localhost
243
+
-p PORT Set the port of the LwM2M Server to connect to. Default: 5683
244
244
-4 Use IPv4 connection. Default: IPv6 connection
245
245
-t TIME Set the lifetime of the Client. Default: 300
246
246
-b Bootstrap requested.
@@ -269,15 +269,15 @@ LWM2M objects:
269
269
- Security Object (id: 0)
270
270
- Server Object (id: 1)
271
271
- Device Object (id: 3) containing hard-coded values from the Example LWM2M
272
-
Client of Appendix E of the LWM2M Technical Specification.
272
+
Client of Appendix E of the LwM2M Technical Specification.
273
273
- Test Object (id: 31024) from the lwm2mclient as described above.
274
274
275
275
The lightclient does not feature any command-line interface.
276
276
277
277
Options are:
278
278
```
279
279
Usage: lwm2mclient [OPTION]
280
-
Launch a LWM2M client.
280
+
Launch a LwM2M client.
281
281
Options:
282
282
-n NAME Set the endpoint name of the Client. Default: testlightclient
283
283
-l PORT Set the local UDP port of the Client. Default: 56830
0 commit comments