zephyr/subsys/net/lib
Michael Scott cb2bfcb9c0 net: lwm2m: fix periodic services handling
This fixes an issue where if timestamp == service_due_timestamp,
we don't call the periodic service.  Then the following call to
engine_next_service_timeout_ms() returns 0 because the service
is still due and lwm2m_engine_service() is called again.
This process repeats several times until the value of
k_uptime_get() changes and then the work is finally handled.

Previously, the resolution of k_uptime_get() was in ms.  A recent
change to this API defaults Zephyr so that the resolution is
set via CONFIG_SYS_CLOCK_TICKS_PER_SEC (default 100).

This means the value of k_uptime_get() only changes every 10ms.

Reported-by: Github User pieterjanc
Signed-off-by: Michael Scott <mike@foundries.io>
2019-04-10 13:54:23 -04:00
..
coap license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
config license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dns license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
http license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
lwm2m net: lwm2m: fix periodic services handling 2019-04-10 13:54:23 -04:00
mqtt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
openthread license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sntp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sockets license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
socks license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
tls_credentials license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00