mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
PR #14 (advert sound) changed setHasConnection() from isBLEConnected() to isConnected() to also mute on USB — but DualSerialInterface::isConnected() is hardcoded true (USB is always a send fallback) and ArduinoSerialInterface's is too ("no way of knowing"), so USB-client presence is undetectable. The result on every dual build: hasConnection() always true, which broke everything that means "a companion app is connected": - Auto buzzer mute → permanently muted (Auto behaved like Off) - BT status indicator → always shown connected - message-wake → display never woke for new messages Revert to isBLEConnected() (the only detectable client signal). Mute-on-USB isn't achievable; Buzzer = Off covers that case manually. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>