Package org.emrick.project.dev
package org.emrick.project.dev
-
ClassDescriptionKeeps a copy of everything Emrick Designer prints to System.out / System.err since launch, so the Developer Mode terminal can show it.One captured line of output.Passes bytes through to the original stream and collects them into lines for the log.Developer Mode: unit details, a live terminal, unit lookup / ID sweep, and receiver flashing.What Developer Mode needs from the main Emrick Designer window.Shared look for Developer Mode: rounded cards, status pills, gold primary buttons, and table styling.Rounded panel with a subtle border, the basic building block of every tab.Small rounded label with a tinted background, e.g.Table cell renderer that draws the value as a
DevUI.Pill.Panel for scroll panes that follows the viewport's width (so content reflows) and only scrolls vertically when the window is too short for it.Grid of cards whose column count follows the available width (up tomaxColumns), so cards stack instead of squeezing when the window is narrow.Meaning of a status pill or message.FlowLayout that wraps onto extra lines when the row is too narrow, and reports the wrapped height so the surrounding layout makes room for it (plain FlowLayout just lets components spill off the edge).Locates (or downloads once) Espressif's esptool and uses it to flash receivers.Standalone esptool builds for each platform: asset name and its published SHA-256.The Heltec Receiver firmware published from the firmware repo's main branch to the Emrick Flash site (the same files the web flasher uses).manifest.json, in esp-web-tools format plus commit/date/sha256Flashes the latest Heltec Receiver firmware (published from the firmware repo's main branch) to one or more plugged-in receivers at once.A progress bar while a unit is being flashed; an empty cell otherwise.One plugged-in receiver.Finds units over LoRa through the transmitter.Rounded inset panel used for the big displays.Looks up boards in the open project's LED strip list (the same data the Device IDs CSV is built from).Live terminal for either Emrick Designer's own log or a unit's serial port (9600 baud).Details a receiver reports in reply to the "info" serial command:@INFO {"type":"receiver","fw":"abc1234","id":12,"label":"T10L",...}Serial helpers for talking to Emrick units (Heltec boards behind a CP210x USB-UART bridge) at 9600 baud.Shows every plugged-in unit and its details (board ID, label, firmware, battery, ...).One plugged-in unit.Small rounded color square.