• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CMakeLists.txtD11-Mar-20243.4 KiB130121

KconfigD11-Mar-202419.4 KiB660542

Kconfig.ipsoD11-Mar-202410.8 KiB369291

Kconfig.ucifiD11-Mar-20242.8 KiB10586

README_lwm2mD11-Mar-20241.2 KiB3725

buf_util.hD11-Mar-20242.6 KiB12991

ipso_accelerometer.cD11-Mar-20244.8 KiB161116

ipso_buzzer.cD11-Mar-20247 KiB262183

ipso_current_sensor.cD11-Mar-20247.3 KiB233177

ipso_filling_sensor.cD11-Mar-20248.3 KiB247194

ipso_filling_sensor.hD11-Mar-20241.1 KiB3217

ipso_generic_sensor.cD11-Mar-20247.7 KiB242183

ipso_humidity_sensor.cD11-Mar-20246.9 KiB223171

ipso_light_control.cD11-Mar-20245.8 KiB206147

ipso_onoff_switch.cD11-Mar-20246.6 KiB253186

ipso_pressure_sensor.cD11-Mar-20247 KiB226174

ipso_push_button.cD11-Mar-20245.1 KiB190134

ipso_temp_sensor.cD11-Mar-20246.9 KiB226171

ipso_timer.cD11-Mar-20249.6 KiB370275

ipso_voltage_sensor.cD11-Mar-20247.4 KiB234177

lwm2m_engine.cD11-Mar-202423.7 KiB1,021785

lwm2m_engine.hD11-Mar-202410.6 KiB31061

lwm2m_message_handling.cD11-Mar-202485.4 KiB3,4432,644

lwm2m_message_handling.hD11-Mar-20243.2 KiB8454

lwm2m_obj_access_control.cD11-Mar-202411.2 KiB443331

lwm2m_obj_access_control.hD11-Mar-20242.9 KiB7011

lwm2m_obj_binaryappdata.cD11-Mar-20244.1 KiB12677

lwm2m_obj_binaryappdata.hD11-Mar-2024662 239

lwm2m_obj_connmon.cD11-Mar-20246.1 KiB194148

lwm2m_obj_device.cD11-Mar-20249.6 KiB307223

lwm2m_obj_event_log.cD11-Mar-20243 KiB10766

lwm2m_obj_event_log.hD11-Mar-2024573 239

lwm2m_obj_firmware.cD11-Mar-202414.2 KiB505397

lwm2m_obj_firmware_pull.cD11-Mar-20241.5 KiB8359

lwm2m_obj_gateway.cD11-Mar-20244.9 KiB164113

lwm2m_obj_gateway.hD11-Mar-2024496 217

lwm2m_obj_location.cD11-Mar-20243.3 KiB12184

lwm2m_obj_portfolio.cD11-Mar-20244.1 KiB12984

lwm2m_obj_security.cD11-Mar-20247.8 KiB240186

lwm2m_obj_server.cD11-Mar-202412 KiB371299

lwm2m_obj_swmgmt.cD11-Mar-202421.3 KiB798595

lwm2m_object.hD11-Mar-202424.2 KiB846627

lwm2m_observation.cD11-Mar-202441.2 KiB1,6551,245

lwm2m_observation.hD11-Mar-20243.1 KiB9249

lwm2m_pull_context.cD11-Mar-202411.3 KiB446335

lwm2m_pull_context.hD11-Mar-2024750 2912

lwm2m_rd_client.cD11-Mar-202438.2 KiB1,5771,175

lwm2m_rd_client.hD11-Mar-20242.4 KiB6018

lwm2m_registry.cD11-Mar-202451.2 KiB2,2571,784

lwm2m_registry.hD11-Mar-20248.7 KiB25562

lwm2m_resource_ids.hD11-Mar-20241.9 KiB5138

lwm2m_rw_cbor.cD11-Mar-202412.7 KiB553399

lwm2m_rw_cbor.hD11-Mar-2024396 198

lwm2m_rw_json.cD11-Mar-202423.3 KiB1,022745

lwm2m_rw_json.hD11-Mar-20242.1 KiB558

lwm2m_rw_link_format.cD11-Mar-202413.6 KiB658481

lwm2m_rw_link_format.hD11-Mar-2024645 3017

lwm2m_rw_oma_tlv.cD11-Mar-202422.6 KiB1,053771

lwm2m_rw_oma_tlv.hD11-Mar-20242.3 KiB6414

lwm2m_rw_plain_text.cD11-Mar-202410.8 KiB485329

lwm2m_rw_plain_text.hD11-Mar-20242.3 KiB6413

lwm2m_rw_senml_cbor.cD11-Mar-202425.7 KiB1,112780

lwm2m_rw_senml_cbor.hD11-Mar-2024870 2815

lwm2m_rw_senml_json.cD11-Mar-202441.3 KiB1,6911,325

lwm2m_rw_senml_json.hD11-Mar-20241.1 KiB3315

lwm2m_senml_cbor.cddlD11-Mar-2024712 3227

lwm2m_senml_cbor.patchD11-Mar-202413.5 KiB260225

lwm2m_senml_cbor_decode.cD11-Mar-20248.6 KiB267209

lwm2m_senml_cbor_decode.hD11-Mar-2024665 3216

lwm2m_senml_cbor_encode.cD11-Mar-20248.3 KiB263205

lwm2m_senml_cbor_encode.hD11-Mar-2024664 3216

lwm2m_senml_cbor_regenerate.shD11-Mar-2024544 2112

lwm2m_senml_cbor_types.hD11-Mar-20242.6 KiB142108

lwm2m_shell.cD11-Mar-202413.7 KiB576486

lwm2m_util.cD11-Mar-202410.2 KiB579398

lwm2m_util.hD11-Mar-20241.4 KiB4915

ucifi_battery.cD11-Mar-20245.2 KiB154112

ucifi_battery.hD11-Mar-2024973 2915

ucifi_lpwan.cD11-Mar-20247.9 KiB182129

ucifi_lpwan.hD11-Mar-20241.7 KiB4430

README_lwm2m

1LwM2M Client in Zephyr
2----------------------
3
4### SenML CBOR
5
6SenML CBOR content format support takes advantage of the Zcbor library's capability of generating
7domain specific code. To generate the SenML encoder and decoder the following CDDL file
8is used as an input for the generator:
9
10.. include:: lwm2m_senml.cddl
11   :code: txt
12
13The CDDL description is based on the RFC 8428 - Sensor Measurement Lists (SenML). For further
14details please see the chapter 11 - CDDL.
15
16To generate the encoder and decoder:
17
18```console
19sh lwm2m_senml_cbor_regenerate.sh
20```
21
22The above command also applies the lwm2m_senml_cbor.patch patch file.
23If the patch fails to apply, you can attempt to use the 3-way merge capabilities by committing the un-patched changes (i.e. up to and including the clang-format), and the running
24
25```console
26git am -3 < lwm2m_senml_cbor.patch
27```
28
29The patch was created by, committing the unpatched changes, then committing the desired patches in a subsequent commit, then creating the patch file with the command
30
31```console
32git format-patch --stdout HEAD~1.. > lwm2m_senml_cbor.patch
33```
34
35The default value of the number of maximum allowed records doesn't really matter as it's replaced
36with a Kconfig option.
37