Organize test results and historical release docs

This commit is contained in:
mikecarper committed 2026-10-01 11:32:23 -07:00
1 parent d44910865c
commit e96918cd91
130 files changed
+8975 -7736

No files matched your search

+3 -121
View File
@@ -1,123 +1,5 @@
# Markdown audit — 1.17.1.5 USA Cascade
# Release notes moved
Audited on 2026-09-05 against firmware source `26303793`, the resolved build
configuration, and the qualified 1.17.1.5 staging manifests. The scope was all
**71 tracked Markdown files** present at the start, including root documents,
docs, examples, tools, tests, variants, and vendored library documentation.
Generated/ignored build directories and external repositories were outside that scope.
<script>window.location.replace(new URL("../../old-releases/1.17.1.5-doc-audit/" + window.location.hash, window.location.href));</script>
## Corrections
- Added [role-specific feature switches](../role_feature_switches.md), exact
Companion/infrastructure MQTT and logging controls, board exceptions, SNMP,
and the [USB web console](https://flasher.meshcore.io/console).
- Added an [exact-name variant map](1.17.1.5-variant-map.tsv); every one of its
1,325 covered entries resolves to a staged firmware file. The 36 excluded
entries are identified rather than linked to substitute hardware.
- Corrected universal 254-neighbor claims, Full Companion MQTT filename/CLI
assumptions, TLora Full WebConfig availability, and partition/NVS guidance.
- Documented the power-saving guards present at audit time; current instructions
now use the shared `get powersaving` / `set powersaving on|off` command set.
Corrected the RS232 baud range and SNMP environment list.
- Linked OTAFIX 2.4.6 and its board/storage requirements from operator guides;
aligned the two manual USA OTA quickstarts with 910.525 MHz.
- Marked old provider catalogs and dated hardware results as historical;
documented the legacy tag workflow that also matches `repeater-room-*`.
- Fixed the vendored MQTT documentation link and documentation-site links
that incorrectly treated repository source files as generated site pages.
## Verification and limits
All original Markdown files were scanned for relative links, section anchors,
source-path references, version/default claims, and role/OTA terminology.
Flagged operator instructions were checked against CommonCLI, its observer
extension, Companion command handlers, board configuration, and release manifests.
Brace-expanded source references and SDK-relative paths were retained as such.
Historical measurements, changelogs, upstream findings, contribution/security
policies, and licenses were not rewritten as new validation results.
The documentation site passed a strict MkDocs Material build. Relative repository
links and section anchors were checked separately, including documents outside
the MkDocs source directory. Console and current bootloader links were checked
on their primary sites. This was not a crawl of every third-party URL or a
new hardware/firmware qualification; no claim is made that every board was
physically tested or every protocol statement independently re-proved.
## Original file coverage
“Retained” means no correction was identified by this documentation audit;
it does not certify all historical statements as current hardware behavior.
| File | Disposition |
| --- | --- |
| [AGENTS.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/AGENTS.md) | Scanned; retained |
| [ALERTS.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/ALERTS.md) | Scanned; retained |
| [CHANGELOG.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/CHANGELOG.md) | Historical record retained |
| [CONTRIBUTING.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/CONTRIBUTING.md) | Scanned; retained |
| [MEMORY_MONITORING.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/MEMORY_MONITORING.md) | Scanned; retained |
| [MQTT_IMPLEMENTATION.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/MQTT_IMPLEMENTATION.md) | Corrected or clarified |
| [MQTT_INTERNALS.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/MQTT_INTERNALS.md) | Corrected or clarified |
| [MQTT_OWNERSHIP.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/MQTT_OWNERSHIP.md) | Historical record retained |
| [MQTT_SNMP.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/MQTT_SNMP.md) | Corrected or clarified |
| [README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/README.md) | Corrected or clarified |
| [RELEASE.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/RELEASE.md) | Corrected or clarified |
| [RESTORE_UPSTREAM_NOTES.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/RESTORE_UPSTREAM_NOTES.md) | Historical record retained |
| [SECURITY.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/SECURITY.md) | Scanned; retained |
| [STABILITY_TESTABILITY_HANDOFF.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/STABILITY_TESTABILITY_HANDOFF.md) | Historical record retained |
| [UPSTREAM_BUGS.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/UPSTREAM_BUGS.md) | Scanned; retained |
| [WEB_CONFIG_REVIEW.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/WEB_CONFIG_REVIEW.md) | Corrected or clarified |
| [arch/stm32/Adafruit_LittleFS_stm32/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/arch/stm32/Adafruit_LittleFS_stm32/README.md) | Vendored documentation/license retained |
| [arch/stm32/Adafruit_LittleFS_stm32/src/littlefs/LICENSE.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/arch/stm32/Adafruit_LittleFS_stm32/src/littlefs/LICENSE.md) | Vendored documentation/license retained |
| [arch/stm32/Adafruit_LittleFS_stm32/src/littlefs/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/arch/stm32/Adafruit_LittleFS_stm32/src/littlefs/README.md) | Vendored documentation/license retained |
| [docs/WiFi.md](../WiFi.md) | Corrected or clarified |
| [docs/cli_build_matrix.md](../cli_build_matrix.md) | Corrected or clarified |
| [docs/cli_command_availability.md](../cli_command_availability.md) | Corrected or clarified |
| [docs/cli_commands.md](../cli_commands.md) | Corrected or clarified |
| [docs/companion_offline_queue.md](../companion_offline_queue.md) | Scanned; retained |
| [docs/companion_protocol.md](../companion_protocol.md) | Scanned; retained |
| [docs/companion_radio_full.md](../companion_radio_full.md) | Corrected or clarified |
| [docs/docs.md](../docs.md) | Scanned; retained |
| [docs/esp32_memory_budget.md](../esp32_memory_budget.md) | Scanned; retained |
| [docs/faq.md](../faq.md) | Corrected or clarified |
| [docs/filter_tool.md](../filter_tool.md) | Scanned; retained |
| [docs/firmware_picker.md](../firmware_picker.md) | Corrected or clarified |
| [docs/flood_filtering.md](../flood_filtering.md) | Scanned; retained |
| [docs/full_companion_features.md](../full_companion_features.md) | Corrected or clarified |
| [docs/full_companion_usb_switcher.md](../full_companion_usb_switcher.md) | Corrected or clarified |
| [docs/gps_tracking.md](../gps_tracking.md) | Scanned; retained |
| [docs/halo_keymind_settings.md](../halo_keymind_settings.md) | Corrected or clarified |
| [docs/hardware_validation_checklist.md](../hardware_validation_checklist.md) | Corrected or clarified |
| [docs/host_cli_service.md](../host_cli_service.md) | Scanned; retained |
| [docs/index.md](../index.md) | Corrected or clarified |
| [docs/kiss_modem_protocol.md](../kiss_modem_protocol.md) | Scanned; retained |
| [docs/lora_ota_automation.md](../lora_ota_automation.md) | Corrected or clarified |
| [docs/mbedtls-tls-footprint.md](../mbedtls-tls-footprint.md) | Scanned; retained |
| [docs/nrf52_companion_storage_recovery.md](../nrf52_companion_storage_recovery.md) | Scanned; retained |
| [docs/nrf52_power_management.md](../nrf52_power_management.md) | Scanned; retained |
| [docs/number_allocations.md](../number_allocations.md) | Scanned; retained |
| [docs/ota_easy.md](../ota_easy.md) | Corrected or clarified |
| [docs/ota_meshtower_v2_sdcard.md](../ota_meshtower_v2_sdcard.md) | Corrected or clarified |
| [docs/ota_nrf52_bootloader_update.md](../ota_nrf52_bootloader_update.md) | Corrected or clarified |
| [docs/ota_nrf52_qspi.md](../ota_nrf52_qspi.md) | Corrected or clarified |
| [docs/ota_protocol.md](../ota_protocol.md) | Corrected or clarified |
| [docs/ota_user_guide.md](../ota_user_guide.md) | Corrected or clarified |
| [docs/packet_format.md](../packet_format.md) | Scanned; retained |
| [docs/payloads.md](../payloads.md) | Scanned; retained |
| [docs/qr_codes.md](../qr_codes.md) | Scanned; retained |
| [docs/rak3401_mota_chain.md](../rak3401_mota_chain.md) | Historical record retained |
| [docs/releases/1.17.1.5.md](../releases/1.17.1.5.md) | Corrected or clarified |
| [docs/spiffs_regular_file_reads.md](../spiffs_regular_file_reads.md) | Scanned; retained |
| [docs/stats_binary_frames.md](../stats_binary_frames.md) | Scanned; retained |
| [docs/telemetry_decoder.md](../telemetry_decoder.md) | Scanned; retained |
| [docs/terminal_chat_cli.md](../terminal_chat_cli.md) | Scanned; retained |
| [docs/usb_serial_backpressure.md](../usb_serial_backpressure.md) | Scanned; retained |
| [examples/host_cli_service/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/examples/host_cli_service/README.md) | Scanned; retained |
| [lib/PsychicMqttClient/CHANGELOG.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/lib/PsychicMqttClient/CHANGELOG.md) | Vendored documentation/license retained |
| [lib/PsychicMqttClient/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/lib/PsychicMqttClient/README.md) | Corrected or clarified |
| [mesh-america/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/mesh-america/README.md) | Corrected or clarified |
| [test/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/test/README.md) | Scanned; retained |
| [test/test_mqtt_prefs_codec/FIXTURES.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/test/test_mqtt_prefs_codec/FIXTURES.md) | Historical record retained |
| [tools/mota/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/tools/mota/README.md) | Scanned; retained |
| [tools/sensecap_indicator_font/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/tools/sensecap_indicator_font/README.md) | Scanned; retained |
| [tools/sensecap_indicator_rp2040/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/tools/sensecap_indicator_rp2040/README.md) | Scanned; retained |
| [variants/sensecap_indicator-espnow/README.md](https://github.com/mikecarper/MeshCore/blob/keymindCascade/variants/sensecap_indicator-espnow/README.md) | Scanned; retained |
These notes are now in [Old Releases](../old-releases/1.17.1.5-doc-audit.md).
File diff suppressed because it is too large. Load diff
+3 -331
View File
@@ -1,333 +1,5 @@
# MeshCore 1.17.1.5 Dev - USA Cascade
# Release notes moved
Use [feature switches by role](../role_feature_switches.md) for exact on/off
commands for Companion, Repeater, Room Server, and Sensor, including MQTT,
logging, power saving, GPS, and board exceptions. Open the
[USB web console](https://flasher.meshcore.io/console) for the default ASCII
terminal on Full Companion and infrastructure images.
<script>window.location.replace(new URL("../../old-releases/1.17.1.5/" + window.location.hash, window.location.href));</script>
The firmware identifier and main release tag follow
`v1.17.1.5-halo-keymind-cascade-dev-<commit>`, matching the 1.17.1.4 naming
convention. Supplemental pages retain the `repeater-room-`, `utility-`,
`logging-`, `lora-ota-`, and `full-profiles-` prefixes where those outputs
exist. The Companion page is marked Latest; the supplemental pages remain
development prereleases.
This release uses the USA/Canada radio preset and Cascade runtime defaults.
The release build records the resolved frequency, bandwidth, spreading factor,
and coding rate. The offline USA Cascadia fallback is 910.525 MHz, BW62.5,
SF7, CR5. Saved node settings survive ordinary firmware updates.
## Memory corrections in `aa20e927`
All 583 published profiles (the 540-profile matrix plus 43 supplemental Full
repeaters) were checked against the new
[runtime RAM policy](../firmware_memory_budget.md). **All 11 failing profiles
have replacements**, and the same queue sharing has been applied to the other
41 nRF52 Full profiles: **52 corrected profiles in total**, initially built from
[`aa20e927`](https://github.com/mikecarper/MeshCore/tree/aa20e9278ebdd574c4769fdb58d46fd9d4face68).
The existing release tags stay in place; corrected filenames end in `aa20e927`,
except Wireless Paper Full's capacity-restoring follow-up, `1e4d1e16`.
Companion remains Latest. Both Mesh America catalogs and the firmware picker
point to the replacement files.
All 43 nRF52 Full Companions keep 256 offline frames normally and lend 128
slots to mOTA while needed. Wireless Paper Full now also shares its queue and
keeps **350 contacts and 40 channels**. The other six corrected ESP32 Full
profiles below use **150 contacts**, preserving their 256-frame queue and Full transports.
**Export contacts before upgrading if you have more than 150**; entries beyond
that limit may be unavailable and a later save may omit them. This warning
applies to those six profiles and the superseded `aa20e927` Wireless Paper image.
Wireless Paper Full's
[`1e4d1e16` update](https://github.com/mikecarper/MeshCore/tree/1e4d1e167a984abee34e92288b44d55f3d0e15a6)
has 256 message slots normally and 128 while an mOTA session borrows its
workspace. Idle WiFi listening leaves all 256 slots available. If more than
128 unread messages are queued, sync them with an app before starting mOTA.
Source stop/disconnect restores all 256 slots and frees ESP32 scratch buffers.
USB, Bluetooth, WiFi, the display and the partition layout are retained.
The application is 1,869,976 bytes; use its app-only `.bin` for a compatible
WiFi update, or its merged image for USB installation.
The T096 and T1 LoRa OTA repeater corrections allocate the diagnostic manual
staging buffer only when requested, recovering about 4 KiB at startup.
Ordinary mOTA uses its existing staging store. `ota dev clear` releases a manual
stage; allocation failure reports an error before writing. These same-version
repairs require an explicit exact-target manual LoRa installation or USB;
forward-only trusted autoinstall does not select an equal-version repair.
Available RAM below means capacity **before startup allocations**, not free
heap after boot. The Wireless Paper row includes its latest `1e4d1e16` update:
| Failing original profile | Original bytes | Replacement bytes | Required bytes |
| --- | ---: | ---: | ---: |
| `Generic_ESPNOW_companion_radio_full` | 101,920 | 139,456 | 136,192 |
| `Heltec_Wireless_Paper_companion_radio_full` | 150,144 | 161,336 | 152,576 |
| `Heltec_Wireless_Tracker_companion_radio_full` | 148,496 | 186,032 | 169,986 |
| `Heltec_ct62_companion_radio_full` | 99,104 | 136,640 | 136,192 |
| `Heltec_t096_companion_radio_full_femon` | 54,724 | 74,060 | 73,728 |
| `Heltec_t1_companion_radio_full` | 55,044 | 74,380 | 73,728 |
| `Heltec_v3_companion_radio_full` | 143,840 | 181,376 | 173,056 |
| `Xiao_C3_companion_radio_full` | 98,880 | 136,416 | 136,192 |
| `heltec_tracker_v2_companion_radio_full_femon` | 133,136 | 170,672 | 169,986 |
| `Heltec_t096_repeater_lora_ota_no_external_sensors` | 61,588 | 65,676 | 65,538 |
| `Heltec_t1_repeater_lora_ota_no_external_sensors` | 61,964 | 66,052 | 65,538 |
Each replacement has a matching `.memory.json` with its ELF hash, RAM budget
and firmware-file hashes. The
[complete audit](https://github.com/mikecarper/MeshCore/releases/download/v1.17.1.5-halo-keymind-cascade-dev-26303793/MEMORY-AUDIT-1.17.1.5.json)
distinguishes original binary/log calculations from new ELF checks.
All 52 exact firmware builds, their native file pairs, and 150 native mOTA
tests passed, alongside memory, allocation-failure, shared-queue and picker
regressions. Wireless Paper's follow-up also passed complete TCP mOTA transfers
with address/leak sanitizers, repeated disconnects, queue-full refusal, idle
listening and USB/TCP ownership changes. Physical boot/load/soak validation
remains pending.
## G3 USB disappearance with power saving enabled
The published `26303793` firmware has an ESP32 native-USB sleep bug that
matches a Station G3 report: USB disappears from the connected Pi after a
few minutes, the display button stops responding, but the repeater still
answers over LoRa. Hardware confirmation of this report is pending.
Cascade enables device power saving by default on fresh settings. After
two minutes, the repeater can enter light sleep when no serial terminal is
open, even though the Pi has enumerated the USB device. Light sleep stops
USB service; the radio GPIO can still wake the CPU, while the G3 display
button is only polled. Closing a terminal must not be treated as unplugging
the USB host. Espressif documents the underlying
[native USB sleep limitation](https://docs.espressif.com/projects/esp-idf/en/v4.4.7/esp32s3/api-guides/usb-otg-console.html#limitations).
To enable **USB logging on an ESP32 1.17.1.5 image with logging support**,
disable power saving first. Use the role's text terminal, or the repeater's
remote admin CLI if USB has already disappeared:
```text
set powersaving off
set usb.logging on
get powersaving
get usb.logging
```
The read-back commands should report power saving `off` and USB logging `on`.
For an image without USB logging, use just `set powersaving off` and `get powersaving`
to apply/check the sleep workaround. Disabling power saving saves the setting and takes
effect immediately; it does not erase the node or change LoRa RX power
saving (`radio.rxps`). If USB does not reappear after disabling sleep
remotely, power-cycle once and check that the port and display button remain
usable beyond the two-minute mark. Ordinary reflashing can retain the
saved power-saving setting, so check it during comparisons with another
firmware build too.
On unified Full infrastructure, also run `set powersaving off` before enabling
USB through `set logging.output usb` or `set logging.output both`. These are
separate commands. Turning logging off does not automatically restore the
saved power-saving setting. nRF52 logging does not need this ESP32 workaround.
**WiFi/MQTT-only logging does not need `set powersaving off` while the
Repeater/Room Server MQTT bridge is running.** The original `26303793` code
already prevents device sleep in that state. Select `set logging.output wifi`
where supported and check `get mqtt.running`; `get mqtt.enabled` alone
only checks the saved preference. MQTT-capable Full Companion now uses the
same `mqtt.enabled` and `logging.output` commands as infrastructure. Disabling
MQTT preserves broker settings; the MQTT tab exposes the same master switch.
The source correction keeps native USB serviced while a host is enumerated,
including when its terminal is closed. Enabled live USB logging also blocks
ESP32 light sleep, even without a host. FreeRTOS can still idle/yield; this
does not disable the saved power-saving setting or Companion CPU scaling.
With logging off, USB power from a charger still permits sleep.
The corrected G3 uses its user button as a light-sleep wake source alongside
LoRa. Button activity keeps the CPU and display awake for at least two minutes;
holding or pressing the button again extends the interval. The usual display
timeout can keep the screen on longer. An intentional long-press power-off
retains its existing action. After the wake interval, sleep is allowed when
power saving is enabled, logging is off, no native USB host is attached, and
no running bridge or pending work needs service.
Host simulations cover both native USB modes, terminal close/reconnect,
logging toggles, OTA inhibition, simultaneous button/LoRa wake configuration,
and the two-minute interval across timer rollover. The Station G3 repeater
download remains the original `26303793` build; continue to use the logging
workaround above on that image.
## T096 Full Companion Bluetooth and menu freeze report
A report against `Heltec_t096_companion_radio_full_femon` describes no usable
Bluetooth despite a displayed PIN, followed by a freeze while stepping through
the device menu. Reflashing both with and without a full wipe gave the same
result. The exact freeze and Bluetooth behavior still need confirmation on a
physical T096 with the source correction below.
The published `26303793` Full image leaves only **54,724 bytes (53.4 KiB)**
between the linked heap boundaries. Its static RAM check did not account for
the allocations made at startup: the 160x80 color framebuffer alone needs
25,602 bytes, followed by task stacks, the packet pool, filesystem buffers,
and message previews. This leaves inadequate runtime headroom. The pinned
Bluefruit library also ignores failure to create its BLE/SOC worker tasks,
and the sensor menu could write through a failed CayenneLPP allocation. Those
are code paths consistent with this report; a PIN is not proof of a working
Bluetooth radio.
The correction applies to **every nRF52 Full Companion**, keeping its offline
queue at **256 frames
during normal use**. mOTA borrows the upper 128 slots for its roughly 19 KiB
session state only when needed, leaving 128 message slots during mOTA use.
Starting a source or a TempRadio discovery session acquires this workspace.
Stopping or disconnecting the USB/Bluetooth source restores all 256 slots,
even if the temporary radio window is still open. A discovery-only session
returns the slots when its TempRadio window ends. No heap resizing is involved.
Unread messages keep their order across both transitions. If more than 128
frames are pending, mOTA refuses to start and asks you to **sync unread
messages with a Companion app first**; it does not discard them to make room.
OTA configuration and signer keys survive reuse of the workspace. While mOTA
owns it, the normal queue overflow policy applies to the remaining 128 slots.
The T096 profile requires at least 72 KiB of heap space at link time. It retains
350 contacts, 40 channels, the color display, sensors, USB, Bluetooth,
Bluetooth DFU, and USB/Bluetooth mOTA sending. This reserve is space for
runtime allocations, not a measurement of free heap after boot.
Bluetooth startup now checks both worker tasks and all registered services;
a failed partial initialization does not repeat every five seconds. The
sensor page reports low memory if its buffer could not be allocated.
Regression tests transfer complete mOTA containers through the actual shared
context, check queue wraparound and message order, and cover source stop,
disconnect, conflicting USB/Bluetooth ownership and repeated sessions. They
also inject worker-task and GATT-service failures, verify that retries do not
initialize the stack again, open the sensor path with a failed allocation,
and use the real linker assertion to reject the old heap budget.
The original T096 Full download has been replaced by the corrected `aa20e927`
image on the same release page. Another wipe is not a fix for the old compiled
memory budget.
For the corrected T096 build, use its matching application
UF2 through the existing USB bootloader. Preserve the bootloader and node data.
Check Bluetooth discovery, pairing and message exchange on battery power and
with USB attached; then step through every menu page, return from screen-off,
and check USB and Bluetooth mOTA sending. Hardware validation is pending.
## Firmware roles and update support
Use the exact board's Full Companion image when available. Every Full
Companion must pass linked-firmware checks for MOTA sending, its text terminal,
and the platform's source transports. ESP32 supplies USB and WiFi sources;
nRF52 supplies USB and encrypted Bluetooth sources. Full Companions remain
USB-updateable and do not require LoRa self-installation. Optional ESP32
WiFi self-update uses port 8080 where the existing partition layout has two
application slots; nRF52 retains Bluetooth DFU with a compatible bootloader.
Read [Full Companion feature switches](../full_companion_features.md) for
on/off commands, USB logging, power saving, WiFi/Bluetooth selection, GPS,
MQTT, MOTA sending, and update directions.
Infrastructure artifacts must have a verified wireless self-update path.
Option 3 reports and omits infrastructure on platforms without a wireless
updater. The report is `ota-excluded-targets.txt`. Source/seeder capability
alone does not count as self-update support. ESP32 qualification checks both
application slots and OTA metadata; nRF52 Bluetooth qualification checks the
linked DFU service and its application ZIP. LoRa installation on nRF52 still
requires the exact matching OTAFIX bootloader and storage arrangement.
Classic ESP32 capacity limits are recorded in each artifact's capability
manifest. Generic E22, Heltec V2, Meshadventurer, and T-Beam OTA repeaters,
plus the TLora MQTT repeater, use 50 neighbors where needed to preserve the
required internal RAM reserve.
T-Beam MQTT repeater profiles retain the full rule engine with 31 flood rules;
constrained classic ESP32 ESP-NOW bridges with logging use 47.
Meshadventurer Full uses 100 contacts, 30 group channels, and a 16-frame
offline queue while retaining its MOTA and transport features.
Since 1.17.1.4, this branch also includes USB session and contact-persistence
fixes, automatic nRF52 ExtraFS recovery, improved Indicator setup/display
handling, compressed MOTA transport, and measured ESP32 memory limits.
Qualified internal-flash nRF52840 receivers now reserve 64 KiB of retained
RAM to extend application MOTA staging beyond the available flash prefix.
This handoff requires the exact board's
[OTAFIX 2.4.6 bootloader](https://github.com/mikecarper/Adafruit_nRF52_Bootloader_OTAFIX/releases/tag/0.11.0-OTAFIX2.4.6).
Install that bootloader before relying on LoRa updates from these new hybrid
receiver images: they reject application containers larger than one flash
page when the installed bootloader lacks the retained-RAM capability.
QSPI/microSD roles and Full Companions retain their existing storage layouts.
An interrupted hybrid download must be fetched again after an application
restart or power cycle. See the [protocol](../ota_protocol.md) for the exact
admission and reset checks.
## Build using option 3
The equivalent reproducible command is:
```bash
OUTPUT_DIR=.releases/1.17.1.5-halo-keymind-cascade-dev \
bash build.sh build-firmwares-logging-matrix \
--firmware-version v1.17.1.5-halo-keymind-cascade-dev \
--radio-preset usa-cascadia --profile cascade \
--require-ota --skip-kiss --resume --background
```
Or run `bash build.sh`, select option 3, set version
`v1.17.1.5-halo-keymind-cascade-dev`, and retain USA Cascadia/Cascade.
Option 3 enables the infrastructure OTA requirement by
default. It merges supported runtime USB logging into canonical artifacts and
builds the expanded ESP32 profiles. It runs one PlatformIO process at a time.
The background launcher prints its persistent log and status paths. Each
target also gets a log in `OUTPUT_DIR/build-logs/`. Resume accepts only
artifacts with the current capability schema and a successful qualification;
infrastructure also needs a verified update method. Any failed target leaves
the matrix unsuccessful and must be resolved before publication.
`--allow-no-ota` is an explicit development override for cable-only
infrastructure. Those outputs do not belong in this OTA-required release.
Use a separate output directory when changing the radio or settings profile.
Use a fresh release output directory after changing the source revision or
firmware version so packaging cannot mix old and new binaries.
## Local release staging
After the matrix completes successfully, `scripts/package_cascade_release.py`
groups the qualified images using the previous GitHub release naming. Each
group includes the firmware files, capability manifests, TSV/JSON inventory,
checksums, build notes, and Full Companion directions. The staging directory's
root `FIRMWARE-PICKER-1.17.1.5.html` opens the local downloads; the copies inside
each release group use the planned GitHub download URLs. Staging does not
push commits, create remote tags, or publish a GitHub release.
## Published release set and small-slot Heltec V4 updates
The capability JSON and target inventories now report both Bluetooth DFU and
LoRa mOTA for all 60 nRF52 receiver profiles. The original report omitted the
nRF52 LoRa method. Each affected manifest includes `ota_update_requirements.lora`
with its storage type, accepted package types, exact-base requirement for deltas,
and the matching OTAFIX bootloader link. Internal-flash receivers accept in-place
deltas; supported QSPI/SD receivers also accept full application packages. The
20 retained-RAM receivers require OTAFIX 2.4.6's matching handoff support.
These reports verify the released application bytes and storage layout; they
do not certify the bootloader installed on a physical device. Firmware binaries
and tags are unchanged. Full Companion mOTA sending remains separate from
self-update capability.
Published firmware tags remain at source commit `26303793`. Documentation can
advance independently. The original matrix qualified 540 profiles (1,080
firmware files) from 551 attempts; 11 oversized portable attempts have expanded
Full replacements. The [variant map](1.17.1.5-variant-map.tsv) maps all 1,361
previous-release choices to 1,325 covered choices and 36 excluded entries.
Multiple old choices map to the same current artifact.
For Heltec V4 with an existing compatible **1.25 MiB OTA application slot**, the
standard `heltec_v4_repeater` application is **1,179,200 bytes** and the lean
`heltec_v4_repeater_lora_ota_no_external_sensors` application is **1,232,024 bytes**.
Both fit that slot. Start the WiFi uploader with `start ota ap`, join
`MeshCore-OTA`, and open `http://192.168.4.1/update`. Upload the application
`.bin`; use `stop ota` to close an unused uploader. Their merged USB installers
write two 6.25 MiB application slots. Expanded Full V4 applications require
the larger layout and do not fit a 1.25 MiB slot.
- [Companion firmware](https://github.com/mikecarper/MeshCore/releases/tag/v1.17.1.5-halo-keymind-cascade-dev-26303793)
- [Repeater and Room Server firmware](https://github.com/mikecarper/MeshCore/releases/tag/repeater-room-v1.17.1.5-halo-keymind-cascade-dev-26303793)
- [Sensor firmware](https://github.com/mikecarper/MeshCore/releases/tag/utility-v1.17.1.5-halo-keymind-cascade-dev-26303793)
- [LoRa OTA repeater firmware](https://github.com/mikecarper/MeshCore/releases/tag/lora-ota-v1.17.1.5-halo-keymind-cascade-dev-26303793)
- [Expanded Full infrastructure](https://github.com/mikecarper/MeshCore/releases/tag/full-profiles-v1.17.1.5-halo-keymind-cascade-dev-26303793)
These notes are now in [Old Releases](../old-releases/1.17.1.5.md).
+3 -155
View File
@@ -1,157 +1,5 @@
# MeshCore 1.17.1.6 Dev - USA Cascade
# Release notes moved
This release builds the current `keymindCascade` source after repairing the
unit-test regressions. Its firmware identifier is
`v1.17.1.6-halo-keymind-cascade-dev-<commit>`. The recorded commit identifies
the source for every firmware file; binaries from earlier releases are not reused.
<script>window.location.replace(new URL("../../old-releases/1.17.1.6/" + window.location.hash, window.location.href));</script>
Use the [firmware picker](https://mikecarper.github.io/MeshCore/firmware_picker/)
to match the exact board, radio, display and flash variant. The Companion release
is marked Latest. Supporting release pages retain the `repeater-room-`,
`utility-`, `logging-`, `lora-ota-` and `full-profiles-` prefixes where those
outputs exist, and remain development prereleases.
The build uses the USA/Canada radio preset and Cascade runtime defaults. Build
records include the resolved radio settings; the offline USA Cascadia fallback
is **910.525 MHz, BW62.5, SF7, CR5**. Ordinary updates retain saved node settings.
## Published matrix
The [GitHub release](https://github.com/mikecarper/MeshCore/releases/tag/v1.17.1.6-halo-keymind-cascade-dev-306feebe)
contains **553 qualified firmware profiles across five release pages**. The
initial matrix completed all 565 attempts: 537 passed, 16 failed, and 12
standard ESP32 profiles exceeded the 1.25 MiB portable slot. All 16 failures
have passing repair builds; all 12 portable exclusions have qualified expanded
Full alternatives. Smaller profiles that fit remain available.
The initial firmware uses `306feebe`, the 14 nRF52 repairs use `283acd27`, and
the two Tracker MQTT repairs use `1274956f`. Each firmware filename and target
manifest records its source. Existing firmware assets and release tags were
preserved when the repairs were added.
See the [failure and repair report](https://github.com/mikecarper/MeshCore/releases/download/v1.17.1.6-halo-keymind-cascade-dev-306feebe/BUILD-FAILURES.md)
and [portable-profile exclusions](https://github.com/mikecarper/MeshCore/releases/download/v1.17.1.6-halo-keymind-cascade-dev-306feebe/PORTABLE-PROFILE-EXCLUSIONS.md).
Full alternatives require their matching expanded partition layout; they do
not fit a deployed 1.25 MiB slot.
## Two LoRa profiles
`radio2`, `tempradio2`, `radioat2` and `tempradioat2` add a second profile to
LoRa-equipped Companion, Repeater, Room Server, Sensor and terminal firmware.
The second profile starts disabled. It supports receive-only or receive/transmit
operation, separate retry ownership and backoff, and explicit off commands.
One transceiver alternates between at most two active profiles. Reception and
transmission occupy that transceiver, so a packet on one profile interrupts
listening on the other. This does not provide two simultaneous receivers.
By default, traffic can cross between two permanent profiles or two temporary
profiles. A permanent/temporary pair stays isolated. `radio2.cross auto|on|off`
controls this policy; receive-only still forbids transmission on profile 2.
`tempradio2` can carry LoRa OTA traffic while the primary profile remains
available between packets. Use a firmware profile that supports the required
OTA role.
Radio commands accept an optional trailing preamble, and their getters include
the effective preamble. Automatic preambles round up in steps of eight. Paired
with SF7/BW62.5/preamble 32, the automatic BW500 values are 48 symbols at SF9,
88 at SF8 and 120 at SF7. Configure transmitters with matching preambles too.
Dual-profile receive uses normal RX with the slower profile visited first.
RX power saving and device sleep are suspended while scanning, then the saved
settings apply again in single-profile mode. See the
[setup guide and command matrix](../radio_profiles.md) and
[hardware measurements](../radio_profiles_validation.md).
## Other changes since 1.17.1.5
- Restores `set path.hash.mode 0|1|2` on infrastructure firmware, with CLI
dispatch and get/set regression coverage. Unsupported `extra.sf` commands
report an explicit error on radios without that capability.
- Uses received MeshCore packets to feed the repeater RX watchdog. Fresh
settings default to 24 hours; temporary primary-radio sessions lasting at
least 12 hours use 12 hours, while shorter sessions disable that watchdog.
Temporary-session adverts and watchdog settings revert when the session ends
or the node reboots. See [CLI commands](../cli_commands.md).
- Adds separate battery and USB display modes, with timeouts in seconds.
Companion inbox settings distinguish retained history, pending delivery and
the local unread count. Read previews remain browseable in Unread mode.
- Includes native-USB sleep/wake corrections, nRF52 USB startup fixes,
receive recovery and noise-calibration improvements, and the reviewed
ExpressLRS board/power changes.
- Consolidates redundant Full infrastructure builds while retaining useful
smaller-slot variants. Full profiles and smaller portable images continue
to require their matching partition and update method.
Feature switches and update commands are documented in
[feature switches by role](../role_feature_switches.md),
[Full Companion features](../full_companion_features.md) and the
[ESP-NOW bridge guide](../espnow_bridge_setup.md).
## Validation and installation
The release is gated on the [unit-test workflow](https://github.com/mikecarper/MeshCore/actions/workflows/run-unit-tests.yml)
for its source commit. CI repairs replace stale display assertions with compiled
tests of bookmark saves across battery/USB transitions and message summaries in
each inbox mode. The sleep harness checks both MQTT and dual-profile scanning.
The release packager checks each published profile's capability manifest,
firmware-file hashes, native file pairs and
[runtime RAM budget](../firmware_memory_budget.md). Infrastructure must have a
verified wireless update path. The target manifests and exclusion report describe
the actual published matrix; a build check is not a physical-board test.
Dual-profile timing was measured on a Heltec V4 with a XIAO ESP32-S3/Wio LoRa
transmitter. Finite strong-signal tests and an OTA catalogue exchange passed;
these tests do not establish weak-signal performance, simultaneous traffic
reliability, a complete hardware OTA installation, or months of uptime.
ESP32 WiFi updates use the application `.bin`. The `-merged.bin` image includes
boot and partition data for USB installation. nRF52 uses the board's `.uf2` or
native application DFU `.zip`; LoRa OTA also needs the exact destination package
and a compatible OTAFIX bootloader. Check the per-profile capability manifest
before choosing an update method.
## Reproduce the release
Follow-up builds repair the constrained profiles without relaxing qualification:
- nRF52 repeaters use `-Os` instead of `-Ofast`, retaining their sensor drivers
and protocol features while reducing flash use.
- T096 and T1 LoRa OTA repeaters retain their board-defined 50 neighbors and
use 16 flood-rule slots. The complete rule engine, color display, GPS and OTA
remain enabled. The T096's available startup heap rises from 72,492 to 81,468
bytes, and the T1's from 72,868 to 81,844 bytes. Required startup allocations
fall from 88,410 to 79,010 bytes. These are linked capacity checks, not soak
measurements. Full Companion capacities are unchanged.
- Tracker v1.1 and v2 Full MQTT repeaters retain their board-defined 50
neighbors so the color display, MQTT/TLS and OTA fit in internal RAM.
Their radio, display, sensor and update features remain enabled; ordinary
Tracker repeater and Companion capacities are unchanged. Tracker v2's
available startup heap rises from 184,640 to 222,992 bytes against the
unchanged 190,386-byte requirement. Both corrected Tracker profiles pass.
- Size-failure detection keeps its temporary output log outside PlatformIO's
build tree, so SCons cleanup cannot erase the evidence needed by the measured
size fallback. CI exercises cleanup, ordinary compiler failures and log errors.
Use a clean checkout of the release commit and a fresh output directory:
```bash
OUTPUT_DIR=.releases/1.17.1.6-halo-keymind-cascade-dev \
bash build.sh build-firmwares-logging-matrix \
--firmware-version v1.17.1.6-halo-keymind-cascade-dev \
--radio-preset usa-cascadia --profile cascade \
--require-ota --skip-kiss --resume --background
```
Run only one PlatformIO process in that checkout. Let the matrix finish even
when individual targets fail. The packager normally requires a successful full
matrix. For an initial release with gaps, `scripts/package_cascade_release.py`
accepts `--allow-partial` with `--version 1.17.1.6`, the original completed build
status and source commit. It lists every failed attempt in `BUILD-FAILURES.md`
and `BUILD-FAILURES.json`; each published file must still pass all qualification
and memory checks. Repair the failures and add the corrected profiles afterward.
`PORTABLE-PROFILE-EXCLUSIONS.md` and `.json` separately list standard ESP32
profiles that exceed the 1.25 MiB slot and are redirected to the expanded Full
pass. Those size deferrals are not compiler failures. Qualified smaller images
remain available; Full alternatives require their matching partition layout.
These notes are now in [Old Releases](../old-releases/1.17.1.6.md).
+3 -16
View File
@@ -1,18 +1,5 @@
# MeshCore 1.17.1.7 USA Cascade
# Release notes moved
This development release uses 910.525 MHz, 62.5 kHz bandwidth, SF7, and CR5 with Cascade defaults. Saved radio settings take precedence. The firmware source is `2d03e098cf75d58adcf35fe3d4dbbeaf0af114e1`.
<script>window.location.replace(new URL("../../old-releases/1.17.1.7/" + window.location.hash, window.location.href));</script>
The release family contains 536 qualified firmware profiles on five GitHub release pages. The companion page is the main release; the repeater and room server, sensor and utility, LoRa OTA, and expanded ESP32 Full pages have the same version suffix. The [firmware picker](../firmware_picker.md) selects the exact board, role, storage and update file.
## Installation
- Match the exact board and radio variant. Use the application image only with a compatible bootloader and partition layout.
- For an ESP32 that needs the expanded Full layout, flash the exact merged image over USB, or use a supported exact board and role migration ZIP from the utility release for a staged Wi-Fi or LoRa route. The 94 migration packages and complete bundle are included there. Read the package README before installation; the bridge writes the partition table and a power loss can require cable recovery. Run `get storage.layout` on the installed firmware if supported to see its live partitions; version alone cannot prove the installed layout. Do not send a loose app-only Full image directly to an older layout.
- nRF52 application UF2 and DFU packages do not install a bootloader. Use the matching [OTAFIX 2.4.10](https://github.com/mikecarper/Adafruit_nRF52_Bootloader_OTAFIX/releases/tag/v0.11.0-OTAFIX2.4.10) bootloader where required. Standard RAK `3401_DFU` / `4631_DFU` bootloaders can receive the matching signed bootloader `.mota` over LoRa with a compatible OTA application. Devices already running the older `*_AUTO_DFU` identity require a local recovery bridge before installing the normal 2.4.10 image.
- The RAK 3x72, Tiny Relay, Wio-E5 Mini, and Wio-E5 USB Companion images retain their framed USB transport and 32 KiB LittleFS area. Packet diagnostics are omitted on these four 256 KiB STM32WL targets to keep the application within flash.
## Build verification
The original matrix produced 532 qualified images and four STM32WL USB Companion flash overflows. Those four were rebuilt individually with packet diagnostics omitted and passed capability, flash size and memory checks. The [repair record](https://github.com/mikecarper/MeshCore/releases/download/v1.17.1.7-halo-keymind-cascade-dev-2d03e098/REPAIR-PROVENANCE.json) identifies them. The local release package also verified all 94 ESP32 migration archives and generated SHA-256 sums.
Automated qualification does not establish physical update compatibility on every board. Verify critical deployed devices with the matching image and recovery path before a fleet upgrade.
These notes are now in [Old Releases](../old-releases/1.17.1.7.md).