iotapiraw

package
v0.0.0-...-0aa8592 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoardType

type BoardType struct {
	FQBN                 *string  `json:"fqbn,omitempty"`
	Label                string   `json:"label"`
	MinProvSketchVersion *string  `json:"min_provisioning_sketch_version,omitempty"`
	MinWiFiVersion       *string  `json:"min_provisioning_wifi_version,omitempty"`
	Provisioning         *string  `json:"provisioning,omitempty"`
	Tags                 []string `json:"tags"`
	Type                 string   `json:"type"`
	Vendor               string   `json:"vendor"`
	OTAAvailable         *bool    `json:"ota_available,omitempty"`
}

type BoardTypeList

type BoardTypeList []BoardType

type IoTApiRawClient

type IoTApiRawClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(credentials *config.Credentials) *IoTApiRawClient

func (*IoTApiRawClient) DownloadProvisioningV2Sketch

func (c *IoTApiRawClient) DownloadProvisioningV2Sketch(fqbn string, path *paths.Path, filename *string) (string, error)

func (*IoTApiRawClient) GetBoardDetailByFQBN

func (c *IoTApiRawClient) GetBoardDetailByFQBN(fqbn string) (*BoardType, error)

func (*IoTApiRawClient) GetBoardsDetail

func (c *IoTApiRawClient) GetBoardsDetail() (*BoardTypeList, error)

type Prov2SketchBinRes

type Prov2SketchBinRes struct {
	Binary   string `json:"bin"`
	FileName string `json:"filename"`
	FQBN     string `json:"fqbn"`
	Name     string `json:"name"`
	SHA256   string `json:"sha256"`
}

Jump to

Keyboard shortcuts

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