Files
MeshCore/docs/releases/1.17.1.9.md
T

5.8 KiB

MeshCore 1.17.1.9 USA Cascade

USA Cascade defaults are 910.525 MHz, 62.5 kHz bandwidth, SF7 and CR5. Saved radio settings take precedence. Match the exact board, role and storage layout before installing an image.

Changes since 1.17.1.8

  • ESP32 native USB recipes now use hardware CDC where the chip supports it. Classic ESP32 and explicit UART transports keep their UART path. nRF52, RP2040 and STM32 USB backends are unchanged by this migration.
  • ESP32 USB output is bounded so a stopped reader cannot indefinitely hold the radio loop. The G2 preserves complete serial packet-log lines under congestion. This supports unmodified Cisien meshcoretomqtt; congested diagnostic output can still be dropped.
  • The pinned ESP32-S3 framework releases retained TinyUSB PHY ownership when starting hardware CDC after a software restart. KISS clears incomplete host frames on a USB session reset while preserving active radio work.
  • Companion packet streaming supports stock serial MQTT consumers. Text CLI and Binary Companion handoff and reply deadlines are covered against the official app's protocol behavior.
  • Access Control replies fit the encrypted LoRa route budget and the Companion frame envelope. Large ACL listings use bounded pages. ESP32 ACL persistence avoids repeated metadata opens while retaining recovery checks.
  • Companion requests skip recently used reply tags. A login reply whose server timestamp matches the next client timestamp no longer causes an immediate status or ACL request to fail locally. Stale replies remain blocked, and tag selection does not change the radio's wall clock.
  • nRF52 keeps its 8 KiB loop stack. Crypto, contact CRC and background storage work reduce peak stack use and long pauses. OTA metadata is cached after verification instead of repeatedly reopening storage for status displays.
  • T096 and T1 repeater profiles reserve four flood-rule entries to fit the complete sensor profile with the existing 8 KiB loop stack, 50 neighbors, color framebuffer and OTA arena. Their capability manifests record this capacity limit; heap qualification margins are unchanged.
  • The RAK3401 unified repeater reserves 47 flood-rule entries so its full sensor profile, 8 KiB loop stack, 50 neighbors and internal/QSPI OTA stores fit the runtime RAM requirement. Full and reduced sensor images use the same table capacity; the capability reports record this limit.
  • Flood-policy upgrades accept inactive trailing rows from larger tables. If active rules exceed an image's capacity, the stored file is preserved and policy saves are blocked. The CLI reports the capacity mismatch; install firmware with enough rule slots to recover the complete policy.
  • ESP32 filesystem buffer checks cover the pinned Arduino 3 frameworks used by RC32 and C6 targets and continue rejecting unhonored buffer allocations.
  • Generic ESP-NOW Full Companion retains all Full transports and 100 contacts with a 224-frame offline queue to meet the unchanged runtime RAM requirement.
  • Wio-E5 Mini Companion uses smaller generated code while preserving its filesystem allocation, contacts, channels and physical-button controls. CI compiles its actual Cascade release profile with the full version string.
  • Mesh America preserves download-only installation for hardware cards that require it, including their Full and reduced sensor profiles.

Installation

An ESP32 merged .bin installs bootloader, partitions and application over USB. An app-only .bin requires a compatible existing layout. Partition expansion requires the exact board and role migration ZIP from this release family's utility page, or the matching merged image over USB. Follow the ZIP's README and use its supplied Full application. get storage.layout reports the live layout on firmware that supports it.

Check the image's flood-rule capacity before updating a repeater. Move active rules into the supported slots and save them before installing a smaller table. An over-capacity policy is retained on storage but remains inactive until compatible firmware is installed.

Native hardware CDC can change the USB product name and Linux /dev/serial/by-id path. Update serial consumers to the new device path after the first upgrade. Do not identify a radio solely by a changing /dev/ttyACM number.

nRF52 application UF2 and DFU ZIP files do not install a bootloader. Use the exact board/storage OTAFIX mapping in the firmware picker. See the role controls, Full Companion guide, and USB web console.

Verification scope

The ESP32 migration passed the native unit suite, SDK and protocol regression tests, sanitizer fixtures and representative builds across all affected board families. The G2 passed physical USB command/reconnect tests with its original identity and settings preserved. A separate RAK4631 recovery admin was verified by passwordless LoRa login, remote status and a remote version reply.

The attempted old-TinyUSB Wi-Fi OTA transition did not reach an upload: its WebConfig/Wi-Fi handoff and a subsequent old-firmware USB timeout prevented that path. The G2 was restored over USB and its hardware CDC runtime passed 444 strict-deadline queries and a 150-second closed-port idle/reconnect test. The retained-PHY transition is covered synthetically; this attempt does not establish a successful physical TinyUSB-to-hardware-CDC OTA upgrade.

Build qualification does not establish physical compatibility on every board. Hardware CDC has finite buffers, and closing a Linux TTY does not necessarily produce a hardware session reset. Saturated diagnostic output is not lossless. See USB backpressure test results for measured scope and the upstream issues reviewed.