mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 02:45:21 +00:00
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> |
||
---|---|---|
.. | ||
bluetooth | ||
console | ||
cpp | ||
debug | ||
dfu | ||
disk | ||
driver_handlers | ||
fs | ||
logging | ||
net | ||
shell | ||
usb | ||
Kconfig | ||
Makefile |