• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..22-Aug-2025-

CMakeLists.txt A D22-Aug-20253.7 KiB135124

Kconfig A D22-Aug-202523.5 KiB752617

Kconfig.ipso A D22-Aug-202511.1 KiB369291

Kconfig.ucifi A D22-Aug-20252.9 KiB10586

README_lwm2m A D22-Aug-20251.3 KiB3826

buf_util.h A D22-Aug-20252.7 KiB12991

ipso_accelerometer.c A D22-Aug-20254.6 KiB149104

ipso_buzzer.c A D22-Aug-20257.3 KiB262183

ipso_current_sensor.c A D22-Aug-20257.5 KiB232176

ipso_filling_sensor.c A D22-Aug-20258.6 KiB247194

ipso_filling_sensor.h A D22-Aug-20251.1 KiB3217

ipso_generic_sensor.c A D22-Aug-20257.9 KiB241182

ipso_humidity_sensor.c A D22-Aug-20257.1 KiB222170

ipso_light_control.c A D22-Aug-20256 KiB203144

ipso_onoff_switch.c A D22-Aug-20256.8 KiB253186

ipso_pressure_sensor.c A D22-Aug-20257.2 KiB225173

ipso_push_button.c A D22-Aug-20255.2 KiB190134

ipso_temp_sensor.c A D22-Aug-20257.1 KiB225170

ipso_timer.c A D22-Aug-202510.1 KiB372277

ipso_voltage_sensor.c A D22-Aug-20257.6 KiB233176

iterables.ld A D22-Aug-202565 21

lwm2m_engine.c A D22-Aug-202533.7 KiB1,4031,082

lwm2m_engine.h A D22-Aug-202514.2 KiB41479

lwm2m_message_handling.c A D22-Aug-202595.3 KiB3,6932,826

lwm2m_message_handling.h A D22-Aug-20253.3 KiB8758

lwm2m_obj_access_control.c A D22-Aug-202511.6 KiB445333

lwm2m_obj_access_control.h A D22-Aug-20252.9 KiB7011

lwm2m_obj_binaryappdata.c A D22-Aug-20254.1 KiB12377

lwm2m_obj_binaryappdata.h A D22-Aug-2025684 239

lwm2m_obj_connmon.c A D22-Aug-20256.9 KiB226181

lwm2m_obj_device.c A D22-Aug-202512.4 KiB400298

lwm2m_obj_event_log.c A D22-Aug-20253.1 KiB10766

lwm2m_obj_event_log.h A D22-Aug-2025595 239

lwm2m_obj_firmware.c A D22-Aug-202514.9 KiB513406

lwm2m_obj_firmware_pull.c A D22-Aug-20251.6 KiB8359

lwm2m_obj_gateway.c A D22-Aug-20256.4 KiB224163

lwm2m_obj_gateway.h A D22-Aug-20251.9 KiB6111

lwm2m_obj_location.c A D22-Aug-20253.3 KiB11678

lwm2m_obj_portfolio.c A D22-Aug-20254.1 KiB12681

lwm2m_obj_security.c A D22-Aug-20258.5 KiB265207

lwm2m_obj_server.c A D22-Aug-202513.8 KiB463370

lwm2m_obj_server.h A D22-Aug-20254.6 KiB14543

lwm2m_obj_swmgmt.c A D22-Aug-202522.1 KiB802599

lwm2m_object.h A D22-Aug-202525.9 KiB885666

lwm2m_observation.c A D22-Aug-202554.2 KiB2,1241,611

lwm2m_observation.h A D22-Aug-20253.3 KiB9651

lwm2m_pull_context.c A D22-Aug-202512.1 KiB461346

lwm2m_pull_context.h A D22-Aug-2025778 2912

lwm2m_rd_client.c A D22-Aug-202548.1 KiB1,8611,384

lwm2m_rd_client.h A D22-Aug-20253 KiB8020

lwm2m_registry.c A D22-Aug-202542.7 KiB1,7461,371

lwm2m_registry.h A D22-Aug-20258.5 KiB24158

lwm2m_resource_ids.h A D22-Aug-20251.9 KiB5138

lwm2m_rw_cbor.c A D22-Aug-202513.8 KiB575412

lwm2m_rw_cbor.h A D22-Aug-2025414 198

lwm2m_rw_json.c A D22-Aug-202524.4 KiB1,024747

lwm2m_rw_json.h A D22-Aug-20252.1 KiB558

lwm2m_rw_link_format.c A D22-Aug-202514.3 KiB659484

lwm2m_rw_link_format.h A D22-Aug-2025674 3017

lwm2m_rw_oma_tlv.c A D22-Aug-202524.4 KiB1,083794

lwm2m_rw_oma_tlv.h A D22-Aug-20252.3 KiB6414

lwm2m_rw_opaque.c A D22-Aug-20254.6 KiB16296

lwm2m_rw_opaque.h A D22-Aug-2025444 198

lwm2m_rw_plain_text.c A D22-Aug-202510.4 KiB443299

lwm2m_rw_plain_text.h A D22-Aug-20252.4 KiB6413

lwm2m_rw_senml_cbor.c A D22-Aug-202527 KiB1,129798

lwm2m_rw_senml_cbor.h A D22-Aug-2025897 2815

lwm2m_rw_senml_json.c A D22-Aug-202542.9 KiB1,6891,323

lwm2m_rw_senml_json.h A D22-Aug-20251.2 KiB3315

lwm2m_senml_cbor.cddl A D22-Aug-2025743 3227

lwm2m_senml_cbor.patch A D22-Aug-20259.6 KiB208186

lwm2m_senml_cbor_decode.c A D22-Aug-20259.4 KiB246192

lwm2m_senml_cbor_decode.h A D22-Aug-2025696 3216

lwm2m_senml_cbor_encode.c A D22-Aug-20258.4 KiB232187

lwm2m_senml_cbor_encode.h A D22-Aug-2025695 3216

lwm2m_senml_cbor_regenerate.sh A D22-Aug-2025573 2112

lwm2m_senml_cbor_types.h A D22-Aug-20252.4 KiB133107

lwm2m_shell.c A D22-Aug-202521.4 KiB861731

lwm2m_util.c A D22-Aug-202510.8 KiB579398

lwm2m_util.h A D22-Aug-20251.4 KiB4915

ucifi_battery.c A D22-Aug-20255.3 KiB154112

ucifi_battery.h A D22-Aug-20251,001 2915

ucifi_lpwan.c A D22-Aug-20258.1 KiB182129

ucifi_lpwan.h A D22-Aug-20251.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
19pip install --upgrade zcbor
20sh lwm2m_senml_cbor_regenerate.sh
21```
22
23The above command also applies the lwm2m_senml_cbor.patch patch file.
24If 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
25
26```console
27git am -3 < lwm2m_senml_cbor.patch
28```
29
30The 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
31
32```console
33git format-patch --stdout HEAD~1.. > lwm2m_senml_cbor.patch
34```
35
36The default value of the number of maximum allowed records doesn't really matter as it's replaced
37with a Kconfig option.
38