zephyr/subsys/net/lib
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
..
coap
config
conn_mgr
dns
http misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
lwm2m net: lwm2m: Improve token generation 2020-10-09 10:46:53 +03:00
mqtt net: mqtt: use zsock_ functions 2020-10-01 17:35:45 +03:00
openthread net: openthread: add kconfigs to change values in zephyr port 2020-09-30 14:38:04 +03:00
sntp net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
sockets net: sockets: tls: fix using of zsock_ functions 2020-10-01 17:35:45 +03:00
socks
tftp
tls_credentials
utils
websocket net: websocket: Fix remnant of message type 2020-10-06 12:01:39 +03:00
CMakeLists.txt
Kconfig