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.
Add an opt-in
heltec_v4_solar_companion_blecandidate for a Heltec V4.2 with a 5000 mAh single-cell LiPo and regulated 5 V solar input. It retains standard MeshCore BLE/MeshMapper compatibility and continuous LoRa receive, uses continuously connectable 250–300 ms BLE advertising, enables controller modem sleep and 40–80 MHz CPU scaling, and keeps the screen timeout at 15 seconds.Replace permanent low-battery shutdown in this target with three-sample 3.40 V cutoff, 60-second timed recharge checks before peripheral/storage startup, and two-reading 3.70 V recovery qualification. Brownout/watchdog resets use recharge qualification. Timer setup failure restarts instead of entering indefinite sleep; startup faults retry and a 30-second task watchdog covers the running application. Save a generated pairing PIN once so recovery does not require reading a new PIN from an inaccessible display. Existing saved settings/PINs are preserved and nonblank storage is never reformatted automatically.
The solar target uses the SHA-256-verified IoTThinks power-saving Arduino 2.0.17 core; other profiles retain their existing framework. CPU light sleep remains disabled pending hardware IRQ/USB qualification, keeping phone availability and LoRa interrupts continuous. CI adds the solar image plus the original V4 BLE regression build and battery-policy tests.
The installation guide identifies the V4.2 charger limit (~540 mA), lack of onboard cell-temperature sensing in the published schematic, candidate status, and required reconnect/current/recharge/brownout/overnight tests. Actual current, daily charge balance, MeshMapper/phone latency, cold-charge protection, and physical recovery are unverified. This PR creates firmware for bench qualification; it does not flash hardware or publish a production release.
Validation for
183a0eec45e440f9cd0a496884e5a3247a90c78d:ESP_SERIAL_PORT, and unchanged STM32TxtDataHelpers.cppuses unavailableltoa. Those targets/dependencies were not changed or their checks bypassed. This is not an all-green cross-board CI claim.ESP_OK. The user confirmed a working phone connection. Neither battery nor solar was connected, so battery-voltage calibration, recovery, sustained RX, measured current, timed reconnects, and overnight/daytime charge tests remain unverified.