diagnostics

package
v1.0.98 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reboot

func Reboot(device ios.DeviceEntry) error

Types

type Connection

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

func New

func New(device ios.DeviceEntry) (*Connection, error)

func (*Connection) AllValues

func (diagnosticsConn *Connection) AllValues() (allDiagnosticsResponse, error)

func (*Connection) Close

func (diagnosticsConn *Connection) Close() error

func (*Connection) IORegEntryQuery added in v1.0.45

func (diagnosticsConn *Connection) IORegEntryQuery(key string) (interface{}, error)

func (*Connection) MobileGestaltQuery added in v1.0.29

func (diagnosticsConn *Connection) MobileGestaltQuery(keys []string) (interface{}, error)

func (*Connection) Reboot

func (diagnosticsConn *Connection) Reboot() error

type Diagnostics

type Diagnostics struct {
	GasGauge GasGauge
	HDMI     HDMI
	NAND     NAND
	WiFi     WiFi
}

type GasGauge

type GasGauge struct {
	CycleCount         uint64
	DesignCapacity     uint64
	FullChargeCapacity uint64
	Status             string
}

type HDMI

type HDMI struct {
	Connection string
	Status     string
}

type NAND

type NAND struct {
	Status string
}

type WiFi

type WiFi struct {
	Active string
	Status string
}

Jump to

Keyboard shortcuts

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