Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gnrc_rpl: takes unusually long time to start routing packets #19147

@benpicco

Description

@benpicco

Description

Nodes may sleep for extended periods of time and schedule a wake-up time via RTC.
If they have their clocks synchronized they can all wake up at the same time, form a mesh and report their data / receive commands from the root node.

To increase battery life, the ON periods should be a short as possible.

gnrc_rpl takes an unknown and rather long time to settle. There is also no way to tell if the the mesh was successfully created (other than attempting to poll the root).

Steps to reproduce the issue

Run the test from #19134 but remove the arbitrary 5s sleep (time.sleep(5)).

Expected results

Routing packets to the RPL root should work immediately after the nodes have all received a valid global address / joined the DODAG.

Actual results

Routing does not work properly for ~3-4s after all nodes joined the DODAG and received a valid prefix.

Versions

RIOT master

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: networkArea: NetworkingType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions