Skip to content

feat: Skip Bluetooth wait when Bluetooth is disabled#10571

Open
h3lix1 wants to merge 1 commit into
meshtastic:developfrom
h3lix1:power-fsm-disabled-bluetooth-wait
Open

feat: Skip Bluetooth wait when Bluetooth is disabled#10571
h3lix1 wants to merge 1 commit into
meshtastic:developfrom
h3lix1:power-fsm-disabled-bluetooth-wait

Conversation

@h3lix1
Copy link
Copy Markdown
Contributor

@h3lix1 h3lix1 commented May 28, 2026

Make the PowerFSM DARK-to-LS timeout immediate when Bluetooth support is compiled out or config.bluetooth.enabled is false. The configured wait_bluetooth_secs default behavior is unchanged when Bluetooth is enabled.

Without this change, the firmware still waits wait_bluetooth_secs even when config.bluetooth.enabled == false

This is part of the ESP32 Power Saving series of diffs.

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec (Lora32) V3
    • LilyGo T-Deck
    • LilyGo T-Beam
    • RAK WisBlock 4631
    • Seeed Studio T-1000E tracker card
    • Other (please specify below)
      xiao wio esp32-s3

Make the PowerFSM DARK-to-LS timeout immediate when Bluetooth support is compiled out or config.bluetooth.enabled is false. The configured wait_bluetooth_secs default behavior is unchanged when Bluetooth is enabled.
@github-actions github-actions Bot added needs-review Needs human review bugfix Pull request that fixes bugs labels May 28, 2026
@h3lix1 h3lix1 changed the title Skip Bluetooth wait when Bluetooth is disabled feat: Skip Bluetooth wait when Bluetooth is disabled May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant