devstatus

package
v0.1.49 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Anslen = 3
View Source
const Reqlen = 1

Variables

This section is empty.

Functions

func ParseAns

func ParseAns(bb []byte) commands.Fopter

func ParseReq

func ParseReq(bb []byte) commands.Fopter

Types

type DevStatusAns

type DevStatusAns interface {
	commands.Fopter
	Battery() uint8
	Margin() uint8
}

func NewAns

func NewAns(battery, margin uint8) DevStatusAns

type DevStatusReq

type DevStatusReq interface {
	commands.Fopter
}

func NewReq

func NewReq() DevStatusReq

Jump to

Keyboard shortcuts

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