E-Ink UI rework; BLE pairing lock; devcontainer perm fix;#2781
Open
alessiodam wants to merge 1 commit into
Open
E-Ink UI rework; BLE pairing lock; devcontainer perm fix;#2781alessiodam wants to merge 1 commit into
alessiodam wants to merge 1 commit into
Conversation
…ent new devices from pairing (which also stops the LED from blinking on boards like the T-Echo); fix the uid in the devcontainer for Arch Linux; Signed-off-by: Alessio D'Ambrosio <alessio@alessiodam.dev>
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.
I've reworked the entire UI last week so it's cleaner, feels better to navigate and have added some features like BLE pairing locking and flood/zero-hop adverts from the E-Ink UI itself.
I've also fixed the uid for the
uucpgroup inArch Linuxin the devcontainer.This pull request introduces several feature enhancements and bug fixes across the companion radio example and supporting libraries, with a focus on BLE pairing control, UI improvements, and device compatibility. The most significant changes add support for locking BLE pairing via persisted preferences, expose pairing controls to the UI and serial interface, improve activity reporting, and enhance display refresh capabilities.
BLE Pairing Lock and Control:
pairing_lockedfield toNodePrefsto persist BLE pairing lock state, and updateDataStoreto read/write this field. The pairing lock is now enforced at startup and can be toggled via the serial interface and UI. [1] [2] [3] [4]BaseSerialInterfaceand implement inSerialBLEInterfaceto allow enabling/disabling BLE pairing at runtime, and ensure pairing requests are rejected when locked. [1] [2] [3] [4] [5]UI and Activity Reporting:
AbstractUITaskandUITaskto track and display recent client activities, such as new device discoveries, and expose BLE pairing lock status and controls through the UI. [1] [2] [3] [4]Display and Visual Feedback:
fullRefresh()method to theDisplayDriverinterface and implement it forGxEPDDisplay, allowing forced full-panel refreshes to resolve display artifacts. [1] [2] [3] [4] [5]charging_iconfor battery charging status display.Device and Platform Compatibility:
.devcontainer/devcontainer.jsonto fix the group ID for Arch Linux device access.ArduinoSerialInterface::isConnected()to accurately report connection status on NRF52 platforms.Miscellaneous:
.vscode/extensions.json.MyMeshto better handle build-time and session-generated PINs.These changes collectively improve device security, user experience, and code maintainability.