zephyr/subsys/net/lib/lwm2m
Robert Chou c0a946ac3c net: lwm2m: propogate errors to the caller when using TLV writer
Errors has been ignored when using TLV writer to create/write object
instance/resources. Modify to propagate the error back to the caller.

To reproduce the issue, try to create IPSO light control object
instances twice. Since the default instance count is 1, the second one
should be rejected and responded w/ error. But the current
implementation will respond w/ 2.04.

Signed-off-by: Robert Chou <robert.ch.chou@acer.com>
2017-09-12 20:40:29 +03:00
..
ipso_light_control.c net: lwm2m: add IPSO light control object 2017-08-18 10:53:25 +03:00
ipso_temp_sensor.c net: lwm2m: add IPSO support w/ temperature sensor object 2017-08-09 10:55:53 +03:00
Kconfig net: lwm2m: select NET_APP_CLIENT automatically 2017-09-12 20:37:48 +03:00
Kconfig.ipso doc: fix Kconfig misspellings 2017-08-31 14:22:11 -04:00
lwm2m_engine.c net: lwm2m: return 4.04 (not found) when obj/obj_inst/res not exist 2017-09-12 20:40:29 +03:00
lwm2m_engine.h net: lwm2m: fix registration content format and use plain/text 2017-08-13 20:52:56 +03:00
lwm2m_obj_device.c net: lwm2m: initial library support for LWM2M 2017-08-09 10:55:53 +03:00
lwm2m_obj_firmware.c net: lwm2m: initial library support for LWM2M 2017-08-09 10:55:53 +03:00
lwm2m_obj_firmware_pull.c net: struct sockaddr should have field "sa_family" 2017-08-18 16:34:51 -04:00
lwm2m_obj_security.c net: lwm2m: initial library support for LWM2M 2017-08-09 10:55:53 +03:00
lwm2m_obj_server.c net: lwm2m: initial library support for LWM2M 2017-08-09 10:55:53 +03:00
lwm2m_object.h net: lwm2m: define a CREATE operation 2017-08-21 08:38:17 -04:00
lwm2m_rd_client.c net: struct sockaddr should have field "sa_family" 2017-08-18 16:34:51 -04:00
lwm2m_rd_client.h net: lwm2m: add SPX Apache-2.0 license tag w/ Linaro copyright 2017-08-09 10:55:53 +03:00
lwm2m_rw_json.c net: lwm2m: ignore optional resource when not implmeneted 2017-08-21 08:38:17 -04:00
lwm2m_rw_json.h net: lwm2m: add SPX Apache-2.0 license tag w/ Linaro copyright 2017-08-09 10:55:53 +03:00
lwm2m_rw_oma_tlv.c net: lwm2m: propogate errors to the caller when using TLV writer 2017-09-12 20:40:29 +03:00
lwm2m_rw_oma_tlv.h net: lwm2m: add SPX Apache-2.0 license tag w/ Linaro copyright 2017-08-09 10:55:53 +03:00
lwm2m_rw_plain_text.c net: lwm2m: fix resource not found error code in format writers 2017-08-21 08:38:17 -04:00
lwm2m_rw_plain_text.h net: lwm2m: add SPX Apache-2.0 license tag w/ Linaro copyright 2017-08-09 10:55:53 +03:00
Makefile net: lwm2m: add IPSO light control object 2017-08-18 10:53:25 +03:00