Home
last modified time | relevance | path

Searched full:lwm2m (Results 1 – 25 of 146) sorted by relevance

123456

/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig4 menuconfig LWM2M config
5 bool "OMA LwM2M protocol stack"
10 This option adds logic for managing OMA LwM2M data
12 if LWM2M
14 module = LWM2M
16 module-str = Log level for LwM2M library
22 prompt "LwM2M protocol version"
25 Select which version of the LwM2M protocol is used
28 bool "LwM2M version 1.0"
32 bool "LwM2M version 1.1"
[all …]
Dlwm2m_engine.h39 * @defgroup LWM2M_PRIO LwM2M initialization priorities
49 * @brief Declare an initialization function to be executed when LwM2M engine starts.
51 * When LwM2M engine starts up, it first executes all initialization functions in following
54 * 2. LWM2M_PRIO_CORE, this is where all LwM2M core objects are initialized
64 CONCAT(LWM2M, prio, init_function)) = {.f = init_function}
98 * @param[in] msg lwm2m message to signal for which resource the write access should checked
107 /* LwM2M context functions */
132 * @param[in] client_ctx lwm2m ctx of the connection
143 * @param[in] msg lwm2m message with operation delete
216 * @brief Sets the update state (as specified in LWM2M SPEC E.6 regarding the firmware update)
[all …]
Dlwm2m_senml_cbor.patch1 diff --git a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.c b/subsys/net/lib/lwm2m/lwm2m_senml_cbor…
3 --- a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.c
4 +++ b/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.c
43 diff --git a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.h b/subsys/net/lib/lwm2m/lwm2m_senml_cbor…
45 --- a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.h
46 +++ b/subsys/net/lib/lwm2m/lwm2m_senml_cbor_decode.h
68 diff --git a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_encode.c b/subsys/net/lib/lwm2m/lwm2m_senml_cbor…
70 --- a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_encode.c
71 +++ b/subsys/net/lib/lwm2m/lwm2m_senml_cbor_encode.c
116 diff --git a/subsys/net/lib/lwm2m/lwm2m_senml_cbor_encode.h b/subsys/net/lib/lwm2m/lwm2m_senml_cbor…
[all …]
DKconfig.ipso25 Sensor instances available to the LWM2M client.
54 Sensor instances available to the LWM2M client.
94 Sensor instances available to the LWM2M client.
125 Sensor instances available to the LWM2M client.
158 instances available to the LWM2M client.
171 instances available to the LWM2M client.
200 instances available to the LWM2M client.
228 instances available to the LWM2M client.
241 instances available to the LWM2M client.
271 instances available to the LWM2M client.
[all …]
/Zephyr-latest/samples/net/lwm2m_client/
DREADME.rst1 .. zephyr:code-sample:: lwm2m-client
2 :name: LwM2M client
5 Implement a LwM2M client that connects to a LwM2M server.
10 Lightweight Machine to Machine (LwM2M) is an application layer protocol
12 writing and executing via an LwM2M server in a very lightweight environment.
14 This LwM2M client sample application for Zephyr implements the LwM2M library
15 and establishes a connection to an LwM2M server using the
44 - This overlay config can be added to enable LWM2M Bootstrap support.
53 - This overlay config can be added to enable LWM2M Queue Mode support.
56 …- This overlay config can be used to stop LwM2M engine for periodically interrupting socket polls.…
[all …]
Dsample.yaml18 - lwm2m
29 - lwm2m
54 - lwm2m
66 - lwm2m
77 - lwm2m
DKconfig1 # Private config options for LwM2M client sample
6 mainmenu "LwM2M Client sample"
9 string "LwM2M Client identity"
31 string "LwM2M server address"
38 LwM2M server address. Write as a full URI including optional port number.
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dconftest.py48 self.shell.exec_command('lwm2m update')
109 shell.exec_command(f'lwm2m write 0/0/0 -s coap://{addr}:{COAP_PORT}')
110 shell.exec_command('lwm2m write 0/0/1 -b 0')
111 shell.exec_command('lwm2m write 0/0/2 -u8 3')
112 shell.exec_command(f'lwm2m write 0/0/3 -s {ep}')
113 shell.exec_command('lwm2m create 1/0')
114 shell.exec_command('lwm2m write 0/0/10 -u16 1')
115 shell.exec_command('lwm2m write 1/0/0 -u16 1')
116 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
117 shell.exec_command(f'lwm2m start {ep} -b 0')
[all …]
Dtest_bootstrap.py2 LwM2M Bootstrap interface tests
47 shell.exec_command('lwm2m create 1/2')
48 shell.exec_command('lwm2m read 1/2/0')
53 shell.exec_command('lwm2m read 1/2/0')
67 shell.exec_command('lwm2m stop')
69 shell.exec_command(f'lwm2m start {endpoint}')
72 shell.exec_command('lwm2m stop')
74 shell.exec_command("lwm2m delete 1/0")
75 shell.exec_command("lwm2m delete 0/1")
76 shell.exec_command(f'lwm2m start {endpoint}')
[all …]
Dtest_lwm2m.py2 Various LwM2M interoperability tests
35 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
45 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
50 dut.readlines_until(regex='LwM2M server disabled', timeout=5.0)
53 shell.exec_command('lwm2m stop')
55 shell.exec_command(f'lwm2m start {endpoint}')
60 shell.exec_command('lwm2m update')
70 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
87 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
156 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
[all …]
Dtest_blockwise.py2 Tests for Block-Wise transfers in LwM2M
59 shell.exec_command('lwm2m update')
80 shell.exec_command('lwm2m create /19/0')
94 lines = shell.get_filtered_output(shell.exec_command('lwm2m read /19/0/0/0 -crc32'))
107 shell.exec_command('lwm2m delete /19/0')
112 shell.exec_command('lwm2m create /19/0')
127 shell.exec_command('lwm2m send /19/0')
137 shell.exec_command('lwm2m delete /19/0')
/Zephyr-latest/doc/connectivity/networking/api/
Dlwm2m.rst3 Lightweight M2M (LWM2M)
13 Lightweight Machine to Machine (LwM2M) is an application layer protocol
15 Based on CoAP/UDP, `LwM2M`_ is a
21 One of the key differences between LwM2M and CoAP is that an LwM2M client
22 initiates the connection to an LwM2M server. The server can then use the
25 LwM2M uses a simple resource model with the core set of objects and resources
28 The LwM2M library can be enabled with :kconfig:option:`CONFIG_LWM2M` Kconfig option.
30 Example LwM2M object and resources: Device
228 `LwM2M registry`_.
230 Zephyr's LwM2M library lives in the :zephyr_file:`subsys/net/lib/lwm2m`, with a
[all …]
/Zephyr-latest/include/zephyr/net/
Dlwm2m.h8 /** @file lwm2m.h
10 * @brief LwM2M high-level API
13 * LwM2M high-level interface is defined in this header.
20 * @defgroup lwm2m_api LwM2M high-level API
41 * @name LwM2M Objects managed by OMA for LwM2M tech specification.
66 * @name LwM2M Objects produced by 3rd party Standards Development
68 * Refer to the OMA LightweightM2M (LwM2M) Object and Resource Registry:
69 * http://www.openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html
99 /** @brief LwM2M object path structure */
123 * @param[in] path LwM2M path
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/
Dtestcase.yaml2 net.lwm2m.lwm2m_registry:
6 - lwm2m
10 net.lwm2m.lwm2m_registry.always_report_obj_version:
14 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/
Dtestcase.yaml5 - lwm2m
10 net.lwm2m.lwm2m_rd_client:
12 net.lwm2m.lwm2m_rd_client_dtls:
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/
Dtestcase.yaml2 net.lwm2m.block_transfer:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_json/
Dtestcase.yaml2 net.lwm2m.content_json:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/
Dtestcase.yaml2 net.lwm2m.content_link_format:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/
Dtestcase.yaml2 net.lwm2m.content_oma_tlv:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/
Dtestcase.yaml2 net.lwm2m.content_plain_text:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/
Dtestcase.yaml2 net.lwm2m.content_raw_cbor:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/content_senml_cbor/
Dtestcase.yaml2 net.lwm2m.content_senml_cbor:
6 - lwm2m
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/
Dtestcase.yaml2 net.lwm2m.lwm2m_engine:
6 - lwm2m
DCMakeLists.txt12 target_sources(app PRIVATE ${ZEPHYR_BASE}/subsys/net/lib/lwm2m/lwm2m_engine.c)
13 zephyr_linker_sources(SECTIONS ${ZEPHYR_BASE}/subsys/net/lib/lwm2m/iterables.ld)
18 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/lib/lwm2m/)
/Zephyr-latest/tests/net/lib/lwm2m/observation/
Dtestcase.yaml2 net.lwm2m.observation:
6 - lwm2m

123456