Add T-Beam WiFi button toggle
This commit is contained in:
1 parent
843d309e2b
commit
bd2e668961
15 files changed
+263
-45
No files matched your search
@@ -181,6 +181,12 @@ service on ports 5001 and 5002. See the
|
||||
[full Companion guide](./companion_radio_full.md) for its build, terminal mode,
|
||||
and complete update-source workflow.
|
||||
|
||||
The LilyGo T-Beam 1W Full Companion maps a triple click of the physical button
|
||||
labeled `17` to a persistent WiFi on/off toggle. Turning WiFi off closes the
|
||||
WebConfig, Companion TCP, mOTA, and MQTT network services while USB, BLE, the
|
||||
display, GPS, and LoRa remain available. The same triple click turns WiFi back
|
||||
on even after reboot.
|
||||
|
||||
The companion loads runtime credentials saved in NVS. A non-placeholder
|
||||
compile-time `WIFI_SSID`/`WIFI_PWD` can be used as a first-boot fallback, but
|
||||
saved credentials take priority. With no credentials, its WebConfig portal
|
||||
|
||||
@@ -80,6 +80,13 @@ clock and keeps GPS awake. Full Companion transports remain available in both
|
||||
states; WiFi modem sleep stays enabled when BLE is present because coexistence
|
||||
requires it. The selected state is retained after reboot.
|
||||
|
||||
On the LilyGo T-Beam 1W Full Companion, triple-click the physical button
|
||||
labeled `17` to turn the ESP32 WiFi radio and all WiFi services off or on. The
|
||||
screen confirms `WiFi: OFF` or `WiFi: ON`, and the selected state is retained
|
||||
after reboot. When WiFi is off, TCP ports 5000-5002, WebConfig, and MQTT are
|
||||
stopped; USB, BLE, the display, GPS, and LoRa continue to operate. Triple-click
|
||||
button 17 again to restore WiFi, including the saved station or setup-AP mode.
|
||||
|
||||
Artifacts are written to `out/` by default.
|
||||
|
||||
On 4 MB ESP32 boards, the full target uses a single 3 MB application
|
||||
|
||||
Reference in new issue
Block a user