This commit is contained in:
mikecarper
2026-08-16 01:13:35 +00:00
parent 7d03d07092
commit d31bd6eb10
7 changed files with 60 additions and 37 deletions
+5
View File
@@ -1553,6 +1553,11 @@ once: USB, BLE, and TCP port 5000. It also provides a source-only LoRa mOTA
service on ports 5001 and 5002. See the
<a href="../companion_radio_full/">full Companion guide</a> for its build, terminal mode,
and complete update-source workflow.</p>
<p>The LilyGo T-Beam 1W Full Companion maps a triple click of the physical button
labeled <code>17</code> 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.</p>
<p>The companion loads runtime credentials saved in NVS. A non-placeholder
compile-time <code>WIFI_SSID</code>/<code>WIFI_PWD</code> can be used as a first-boot fallback, but
saved credentials take priority. With no credentials, its WebConfig portal
+2 -2
View File
@@ -1881,7 +1881,7 @@ fix, no WiFi connection, an inactive bridge, or an nRF52 bootloader without
</tr>
<tr>
<td>System</td>
<td><a href="../cli_commands/#view-or-change-this-nodes-power-saving-flag-repeater-only"><code>powersaving</code>; <code>powersaving on/off</code></a></td>
<td><a href="../cli_commands/#view-or-change-this-nodes-power-saving-flag"><code>powersaving</code>; <code>powersaving on/off</code></a></td>
<td>Supported repeater board</td>
<td>Feature</td>
<td>Feature</td>
@@ -3320,7 +3320,7 @@ fix, no WiFi connection, an inactive bridge, or an nRF52 bootloader without
</tr>
<tr>
<td>System</td>
<td><a href="../cli_commands/#view-or-change-this-nodes-power-saving-flag-repeater-only"><code>powersaving</code>; <code>powersaving on/off</code></a></td>
<td><a href="../cli_commands/#view-or-change-this-nodes-power-saving-flag"><code>powersaving</code>; <code>powersaving on/off</code></a></td>
<td>Supported repeater board</td>
<td>Feature</td>
<td>Feature</td>
+7 -6
View File
@@ -1118,10 +1118,10 @@
</li>
<li class="md-nav__item">
<a href="#view-or-change-this-nodes-power-saving-flag-repeater-only" class="md-nav__link">
<a href="#view-or-change-this-nodes-power-saving-flag" class="md-nav__link">
<span class="md-ellipsis">
View or change this node's power saving flag (Repeater Only)
View or change this node's power saving flag
</span>
</a>
@@ -3591,10 +3591,10 @@
</li>
<li class="md-nav__item">
<a href="#view-or-change-this-nodes-power-saving-flag-repeater-only" class="md-nav__link">
<a href="#view-or-change-this-nodes-power-saving-flag" class="md-nav__link">
<span class="md-ellipsis">
View or change this node's power saving flag (Repeater Only)
View or change this node's power saving flag
</span>
</a>
@@ -5650,7 +5650,7 @@ get clock.sync.status
<h4 id="view-this-nodes-configured-role">View this node's configured role</h4>
<p><strong>Usage:</strong> <code>get role</code></p>
<hr />
<h4 id="view-or-change-this-nodes-power-saving-flag-repeater-only">View or change this node's power saving flag (Repeater Only)</h4>
<h4 id="view-or-change-this-nodes-power-saving-flag">View or change this node's power saving flag</h4>
<p><strong>Usage:</strong>
- <code>powersaving</code>
- <code>powersaving on</code>
@@ -5659,7 +5659,8 @@ get clock.sync.status
- <code>on</code>: enable power saving
- <code>off</code>: disable power saving</p>
<p><strong>Default:</strong> <code>off</code></p>
<p><strong>Note:</strong> When enabled, device enters sleep mode between radio transmissions. Enabling is refused from the local serial console or while an active USB serial data connection is detected; USB power alone does not block power saving.</p>
<p><strong>Note:</strong> Infrastructure firmware enters sleep between radio transmissions. It refuses to enable power saving from the local serial console or while an active USB serial data connection is detected; USB power alone does not block power saving.</p>
<p>Full Companion firmware accepts the command from its local USB terminal and exposes the same setting in WebConfig. On ESP32, it lowers the CPU clock to 80 MHz, enables idle yielding, and enables the configured GPS duty cycle. USB, BLE, and WiFi remain available. <code>powersaving off</code> restores the board's normal CPU clock and disables the GPS duty cycle. This device setting is separate from LoRa RXPS (<code>radio.rxps</code>) and WiFi modem power save (<code>wifi.powersave</code>).</p>
<hr />
<h4 id="control-an-exposed-gpio">Control an exposed GPIO</h4>
<p><strong>Availability:</strong> ESP32 Repeater, Room Server, Bridge, and Sensor firmware. Companion firmware does not expose these commands. On nRF52, the commands are enabled only for Sensor builds on the Heltec T096, ProMicro, RAK3401, and RAK4631. GPIO expanders are not supported.</p>
+17
View File
@@ -1348,6 +1348,23 @@ set radio.fem.txgain on
</code></pre>
<p>The selected states are applied immediately and retained after reboot. FEM TX
gain is reported as unsupported on boards without software-selectable PA gain.</p>
<p>Device power saving is separate from LoRa RXPS. It can be changed in WebConfig
with the <strong>Device power saving</strong> switch or from the USB terminal:</p>
<pre><code class="language-text">powersaving
powersaving on
powersaving off
</code></pre>
<p>On ESP32, enabling it lowers the CPU clock to 80 MHz, enables idle yielding,
and enables the configured GPS duty cycle. Disabling it restores the normal CPU
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.</p>
<p>On the LilyGo T-Beam 1W Full Companion, triple-click the physical button
labeled <code>17</code> to turn the ESP32 WiFi radio and all WiFi services off or on. The
screen confirms <code>WiFi: OFF</code> or <code>WiFi: ON</code>, 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.</p>
<p>Artifacts are written to <code>out/</code> by default.</p>
<p>On 4 MB ESP32 boards, the full target uses a single 3 MB application
partition so WiFi, BLE, WebConfig, and source-only mOTA fit together. Flash
File diff suppressed because one or more lines are too long
+28 -28
View File
@@ -2,114 +2,114 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://mikecarper.github.io/MeshCore/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/WiFi/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/cli_build_matrix/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/cli_command_availability/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/cli_commands/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/companion_protocol/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/companion_radio_full/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/docs/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/faq/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/filter_tool/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/flood_filtering/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/gps_tracking/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/halo_keymind_settings/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/kiss_modem_protocol/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/lora_ota_automation/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/nrf52_power_management/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/number_allocations/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/ota_easy/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/ota_meshtower_v2_sdcard/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/ota_protocol/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/ota_user_guide/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/packet_format/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/payloads/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/qr_codes/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/rak3401_mota_chain/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/stats_binary_frames/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/telemetry_decoder/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
<url>
<loc>https://mikecarper.github.io/MeshCore/terminal_chat_cli/</loc>
<lastmod>2026-08-15</lastmod>
<lastmod>2026-08-16</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.