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

Draft: Add settings and OTA lock state to info #4279

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

willmmiles
Copy link
Collaborator

As requested by @Moustachauve on Discord: add the settings and OTA lock states to the info struct, so UIs can direct users to an appropriate workflow for updating their devices.

I'm not 100% confident about the usage of interfaceUpdateCallMode in these contexts to induce websocket notifications. The notification subsystem currently seems a bit tangled to me. If this stands out as obviously wrong, please let me know.

Use "settingsLocked" and "otaLocked" to clearly convey the meaning and sense.
@blazoncek
Copy link
Collaborator

In fact it is convoluted. It took me 2 years to decipher it. 😄
If you want notifications to be broadcast, use: stateUpdated = true;

@netmindz netmindz changed the base branch from 0_15 to main December 16, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants