firmware

package
v0.0.0-...-297da89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

func NewFlashCommand

func NewFlashCommand() *cobra.Command

NewFlashCommand creates a new `flash` command

func NewGetVersionCommand

func NewGetVersionCommand() *cobra.Command

NewGetVersionCommand creates a new `get-version` command

Types

type FirmwareListResult

type FirmwareListResult []*FirmwareResult

func (FirmwareListResult) Data

func (f FirmwareListResult) Data() interface{}

func (FirmwareListResult) String

func (f FirmwareListResult) String() string

type FirmwareResult

type FirmwareResult struct {
	BoardName       string                 `json:"board_name"`
	BoardFQBN       string                 `json:"board_fqbn"`
	Module          string                 `json:"module"`
	FirmwareVersion *semver.RelaxedVersion `json:"firmware_version"`
	Latest          bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL