onerom-wasm
    Preparing search index...

    Interface DeviceSummary

    Web-focused summary of a parsed One ROM device.

    Everything the browser tool needs to render the device panel, flattened across both firmware generations. dump carries the full parse as JSON for the details view.

    interface DeviceSummary {
        board_size: string | undefined;
        can_run: boolean;
        commissioned_board: string | undefined;
        corrupt: boolean;
        dump: string;
        firmware: Firmware | undefined;
        full_reread_size: number | undefined;
        hw_rev: string | undefined;
        mcu: string | undefined;
        model: string | undefined;
        parse_errors: string[];
        plugins: RomSummary[];
        recorded_board_size: string | undefined;
        reserved_pins: string[] | undefined;
        roms: RomSummary[];
        running: boolean;
        version: string | undefined;
    }
    Index
    board_size: string | undefined

    The board's size, "M" or "L". A board recording another size, or none, is "M". None for One ROM Lab, for an image file and where parse_firmware is called without otp_cb.

    can_run: boolean

    Whether the device can run One ROM firmware over USB (has the USB system plugin).

    commissioned_board: string | undefined

    The board type the board's current commissioning instance records, such as "fire-40-a". Text that isn't a known board type has its control characters escaped. None where OTP doesn't have a current instance or couldn't be read, for One ROM Lab, for an image file and where parse_firmware is called without otp_cb.

    corrupt: boolean

    True if the firmware parsed with non-fatal errors.

    dump: string

    Full parse serialised as JSON, for the details view. Externally tagged by format (Original / Schema), or "Lab" for One ROM Lab.

    firmware: Firmware | undefined

    The firmware found, or None where it isn't recognised.

    full_reread_size: number | undefined

    For pre-v0.5.0 original firmware read from a partial dump: the full chip size to re-read, in bytes. None otherwise.

    hw_rev: string | undefined

    Hardware revision / board name (e.g. "fire-28-c").

    mcu: string | undefined

    MCU name (e.g. "RP2350", "F411RE").

    model: string | undefined

    Board model ("fire" / "ice").

    parse_errors: string[]

    Human-readable non-fatal parse errors.

    plugins: RomSummary[]

    Plugin entries (system, user), in slot order.

    recorded_board_size: string | undefined

    The board size the device records: "M", "L", "other" or "unknown". "unknown" covers firmware that doesn't record a size, a size this build doesn't know and a size that couldn't be read. None where board_size is.

    reserved_pins: string[] | undefined

    The reserved pins' silkscreen labels, for example ["SEL_C", "X1"]. None where the metadata predates reserved pins or wasn't read, and for One ROM Lab.

    roms: RomSummary[]

    User ROM entries, in slot order.

    running: boolean

    Whether runtime info was present (device was running when read). Requires RAM to have been supplied; always false for a flash-only parse.

    version: string | undefined

    Firmware version, "major.minor.patch".