zephyr/subsys
Robert Lubos 2497958298 net: lwm2m: Improve token generation
Improve token handling by removing special meaning of tokenlen == 0,
which allows to handle server requests w/o a token (so far such
requests would cause the lwm2m engine to autogenerate token in the
response).

In order to autogenerate token during message initialization, use
special symbol `LWM2M_MSG_TOKEN_GENERATE_NEW`. If no token is wished to
be used, simply set the tokenlen to 0.

Additionally, fix an issue with token autogeneration, where invalid
token len was used (0 instead of 8).

Fixes #28299

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-10-09 10:46:53 +03:00
..
bluetooth Bluetooth: controller: Initialize close to locality of reference 2020-10-08 17:29:08 +02:00
canbus
console
cpp
debug
dfu
disk
emul
fb
fs fs: fs_seek and fs_tell return -ENOTSUP when not implemented 2020-10-07 14:51:39 +02:00
jwt
logging logging: fix if else if constructs missing final else 2020-10-07 23:05:18 -07:00
lorawan lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
mgmt mgmt: smp: shell: log warning when buf allocation fails 2020-10-07 14:51:06 +02:00
net net: lwm2m: Improve token generation 2020-10-09 10:46:53 +03:00
power
random
settings
shell mgmt: smp: shell: allow to configure multiple RX buffers via Kconfig 2020-10-07 14:51:06 +02:00
stats
storage
testsuite
timing
tracing tracing: add feature for analysing post-mortem 2020-10-07 10:10:48 -04:00
usb
CMakeLists.txt lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00
Kconfig lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00