2019-02-01 23:11:18 +08:00
|
|
|
.. _net_timeout_interface:
|
|
|
|
|
|
|
|
Network Timeout
|
|
|
|
###############
|
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2019-02-20 21:56:13 +08:00
|
|
|
The ``k_delayed_work`` API has a 1 ms accuracy for a timeout value,
|
|
|
|
so the maximum timeout can be about 24 days. Some network timeouts
|
|
|
|
are longer than this, so the net_timeout API provides a generic timeout
|
|
|
|
mechanism that tracks such wraparounds and restarts the timeout as needed.
|
2019-02-01 23:11:18 +08:00
|
|
|
|
|
|
|
API Reference
|
|
|
|
*************
|
|
|
|
|
|
|
|
.. doxygengroup:: net_timeout
|
|
|
|
:project: Zephyr
|