Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor LwM2M engine to support tickless operation #60887

Merged

Commits on Aug 1, 2023

  1. net: lwm2m: Create socketpair that can wake up zsock_poll()

    Allow socket-loop to wake up immediately, if there are changes,
    instead of waiting for zsock_poll() to timeout.
    This change makes engine more reactive and removes
    hard coded timeout from zsock_poll().
    
    Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
    SeppoTakalo committed Aug 1, 2023
    Copy the full SHA
    01e1418 View commit details
    Browse the repository at this point in the history
  2. net: lwm2m: Add support for non-periodic services

    Engine now allows registering service callbacks that are
    called only once on a given timestamp.
    This allows tickless services to be developed.
    
    Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
    SeppoTakalo committed Aug 1, 2023
    Copy the full SHA
    eabe432 View commit details
    Browse the repository at this point in the history
  3. net: lwm2m: Refactor RD client to be tickless

    Call RD client service only when there is state transitioning.
    Remove periodic 500 ms timer.
    
    Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
    SeppoTakalo committed Aug 1, 2023
    Copy the full SHA
    fc6b7fa View commit details
    Browse the repository at this point in the history