chore: remove D1L companion example and env, keep only repeater #45
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/remove-d1l-companion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The D1L is used solely as a repeater, so companion support adds unnecessary complexity and build failures. This cleanup leaves only the working repeater environment.
Description
Type of Change
Related Issues
Testing Performed
Hardware Tested
Code Quality Checklist
Breaking Changes
Screenshots/Logs
Additional Notes
Summary of Changes
Hello @okapteinis, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request significantly refactors the D1L firmware by eliminating all companion UI code and associated build configurations. The D1L device is now exclusively configured as a repeater, removing unnecessary complexity and resolving previous build failures related to companion support. This change ensures a more focused and stable firmware for its intended repeater role.
Highlights
Ignored Files
.github/workflows/**(1)Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point by creating a comment using either
/gemini <command>or@gemini-code-assist <command>. Below is a summary of the supported commands on the current page./gemini review/gemini summary/gemini helpCustomization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a
.gemini/folder in the base of the repository. Detailed instructions can be found here.Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩︎
Code Review
This pull request effectively removes the D1L companion example and its related code, simplifying the build environments for the SenseCAP Indicator D1L variant. The changes are clean and align with the goal of focusing on the repeater functionality.
However, I've identified a critical issue regarding the configuration of the repeater. The documentation is updated to suggest configuration via BLE, but the primary method for setting the admin password appears to be through a text-based serial console, which is disabled in the project's configuration. This could prevent users from securing their devices. My review includes a detailed comment on this issue in the
README.mdfile.This section states that configuration is done via BLE. However, the repeater's admin password seems to be configurable only through a text-based serial console, which is disabled by the
ARDUINO_USB_CDC_ON_BOOT=0flag inplatformio.ini. The BLE command interface (handleCmdFrameinMyMesh.cpp) does not appear to have a command for setting the password. This could leave the device in an unconfigurable state regarding the admin password.Please either enable the USB serial console by default or add a BLE command to set the password. The 'Post-Flashing Configuration' section (lines 373-396) also needs to be updated to reflect the correct configuration method.