Skip to content

Conversation

@edmont
Copy link
Collaborator

@edmont edmont commented Nov 11, 2025

When the parent router supports "MAC Data Poll Keepalive" method only, using zb_set_keepalive_timeout() is equivalent to establishing the poll period.

However, if the parent router supports "End Device Timeout Request Keepalive" method, the end device will send End Device Timeout Requests according to the zb_set_keepalive_timeout() configuration.

These messages have their corresponding End Device Timeout Responses, leading to an increment of the radio usage and consequently, power consumption increase.

This commit makes use of zb_zdo_pim_set_long_poll_interval() to establish the periodicity of the Data Requests, which determine the latency of the device, while keeping a larger periodicity for the keepalive messages (in case parent router doesn't support "End Device Timeout Request Keepalive" method.

KRKNWK-20726

When the parent router supports "MAC Data Poll Keepalive" method only,
using `zb_set_keepalive_timeout()` is equivalent to establishing the
poll period.

However, if the parent router supports "End Device Timeout Request Keepalive"
method, the end device will send End Device Timeout Requests according to
the `zb_set_keepalive_timeout()` configuration.

These messages have their corresponding End Device Timeout Responses,
leading to an increment of the radio usage and consequently, power
consumption increase.

This commit makes use of `zb_zdo_pim_set_long_poll_interval()` to establish
the periodicity of the Data Requests, which determine the latency of the device,
while keeping a larger periodicity for the keepalive messages (in case parent
router doesn't support "End Device Timeout Request Keepalive" method.

Signed-off-by: Eduardo Montoya <[email protected]>
@edmont edmont requested a review from a team November 11, 2025 14:58
@edmont edmont merged commit aa9763a into nrfconnect:main Nov 12, 2025
1 check passed
@edmont edmont deleted the pr/keepalive branch November 12, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants