commit | eafc4f875b7443bceffe7f8bee14aa97d7ca4bd6 | [log] [tgz] |
---|---|---|
author | Seppo Takalo <seppo.takalo@nordicsemi.no> | Tue Aug 02 16:15:44 2022 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Aug 08 11:27:16 2022 +0200 |
tree | 140b79b7c91262a59c05cf07b3f79d59db65c5f8 | |
parent | 7751fbca4476ed6871d5cc183f93afc81ea93c5f [diff] |
net: lwm2m: Allow string and opaque data types to be empty When string and opaque types are uninitialized, we should allow their data length to be zero. However, most content formatters seem to calculate the string length separately so replace the pointer of empty data into a static string that is guaranteed to be empty. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>