Skip to content
Commit 54ddf709 authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: lwm2m: Allow to return error codes by content encoders/decoders



Rework the content encoder/decoder API to allow to return negative
values as well. This allows a proper error reporting and error handling,
as it's now possible to differentiate when there is no content to write
(retuned 0) or and error occured, and further processing should be
aborted.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 99e3e676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment