mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
10194c0bfc
This commit introduces a new class `DataPollManager`. This class contains all the logic related to sending of the data poll messages and managing the data poll transmission period. The data poll interval is derived based on combination of value from user (from `SetExternalPollPeriod()`) and the internal state of the OpenThread. Data poll manager may send data polls more frequently during attach process or when expecting a control-message from parent or in case of data poll transmission failures or data poll timeouts.