zephyr/subsys
Michael Scott 75016c7b97 net: lwm2m: fix resource not found error code in format writers
We are returning EINVAL from content format write ops when an object
field definition is not found (an optional field which is not
implemented).  Instead, return ENOENT which lets the LwM2M engine
know to send ZOAP_RESPONSE_CODE_NOT_FOUND to the LwM2M server at the
end of handle_request().

NOTE: This behavior is not correct when we call the writer right after
a CREATE operation where the data is assigned to resources for the
first time.  This case will be handled in a follow-up patch once we're
able to distinguish between a WRITE and a CREATE in the write op
handler.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
2017-08-21 08:38:17 -04:00
..
bluetooth Bluetooth: controller: Fix controller assert at clock rollover 2017-08-18 15:34:19 +02:00
console
cpp subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00
debug debug: openocd: build openocd symbols using obj- 2017-08-10 09:13:06 -05:00
disk
fs
logging kconfig: build code conditionally when possible 2017-08-14 20:32:26 -04:00
net net: lwm2m: fix resource not found error code in format writers 2017-08-21 08:38:17 -04:00
shell shell: Adjust arguments when executing a command of different module 2017-06-09 18:54:27 -04:00
usb Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
Kconfig subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00
Makefile Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00