zephyr/subsys
Michael Scott 1bca60d732 net: lwm2m: make release in lwm2m_release_message() optional
Let's rename lwm2m_release_message() to lwm2m_reset_message()
and add a parameter to let the function know whether or not to
release the lwm2m_message resource back to the pool.

By adding the optional release parameter, we can keep the
lwm2m_message but reset the underlying net_pkt / net_buf resources.
This allows us to regenerate the net_pkt after determining
an error has occured.  In this case, we don't want the previously
added net_pkt contents but we do want to maintain the message id,
token, etc.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
2017-10-25 13:39:55 +03:00
..
bluetooth Bluetooth: Mesh: Improve Network Message Cache behavior 2017-10-24 18:23:36 +03:00
console
cpp subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00
debug misc: userspace support for printk() 2017-10-11 09:23:57 -07:00
dfu dfu: replace FLASH_ALIGN with FLASH_WRITE_BLOCK_SIZE 2017-10-06 22:12:23 -04:00
disk
driver_handlers kernel: Provide only one _SYSCALL_HANDLER() macro 2017-10-16 13:42:15 -04:00
fs doc: fix doc misspellings 2017-10-17 14:31:52 -04:00
logging kconfig: build code conditionally when possible 2017-08-14 20:32:26 -04:00
net net: lwm2m: make release in lwm2m_release_message() optional 2017-10-25 13:39:55 +03:00
shell
usb usb: Remove default Vendor and Product ID 2017-10-19 09:30:58 -04:00
Kconfig DFU: add module for interact with mcuboot 2017-09-11 11:37:43 -04:00
Makefile sensors: implement system calls 2017-10-07 10:45:15 -07:00