zephyr/subsys/net
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
..
ip net: dhcpv4: Generate start/bound/stop mgmt events 2020-10-03 17:15:15 +03:00
l2 net: l2: ppp: Remove ipcp address on network down 2020-10-06 11:57:46 +03:00
lib net: lwm2m: Improve token generation 2020-10-09 10:46:53 +03:00
buf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
hostname.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig net: Remove CONFIG_LEGACY_TIMEOUT_API dependency 2020-05-01 10:50:03 +03:00
Kconfig.hostname kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.default.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00