Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why this matters to users
Consider a clock that only changes when a button is pressed, or a pairing screen that asks the reader to keep pressing Check Pairing after approving a code on a phone. Neither should require the user to interact just to notice that something has changed.
In a real pairing workflow, the remote service could accept the code while the e-reader was still waiting for input. An experimental five-second wake event allowed the application to check for approval without a key press. Testing also exposed an important e-paper detail: a wake should not automatically trigger a panel refresh when nothing has changed.
A generic opt-in timer gives applications a way to update when necessary without busy polling, fake key events or unnecessary redraws. The host decides when to schedule wakes, and the application decides whether its visible content actually needs updating. The hardware scheduler is outside this SDK PR.
Summary
Provide an opt-in periodic wake event for applications such as clocks, calendars and progress displays without busy polling or adding background tasks to the runtime.
Validation
The full upstream make test suite passed with the pinned FreeInk SDK. The new guest/host test exercises unsupported hosts, invalid intervals, input priority, periodic wake delivery, interval changes, disable and reload. This change does not add a desktop or firmware scheduler; those integrations are host responsibilities.