Adding DataPollManager to manage the (periodic) data poll transmission (#1508)

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.
This commit is contained in:
Abtin Keshavarzian
2017-04-02 22:54:59 -07:00
committed by Jonathan Hui
parent a68bbfefa9
commit 10194c0bfc
13 changed files with 675 additions and 253 deletions
+1
View File
@@ -94,6 +94,7 @@ extern "C" {
* @defgroup core-ipv6 IPv6
* @defgroup core-mac MAC
* @defgroup core-mesh-forwarding Mesh Forwarding
* @defgroup core-data-poll-manager Data Poll Manager
* @defgroup core-message Message
* @defgroup core-mle MLE
* @defgroup core-netdata Network Data