When writing string data to resources which are string types, we should count in the terminating character into the data length. Corner cases exist where LwM2M resource type is opaque but lwm2m_get_string() or lwm2m_set_string() are used to read/write the data. We must ensure string termination on those case, but terminating character must not be stored in the engine buffer or counted in the data length as this might be considered as part of the binary data. Fixes #59196 Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> |
||
---|---|---|
.. | ||
block_transfer | ||
content_json | ||
content_link_format | ||
content_oma_tlv | ||
content_plain_text | ||
content_raw_cbor | ||
content_senml_cbor | ||
engine | ||
lwm2m_engine | ||
lwm2m_rd_client | ||
lwm2m_registry |