ranma

package
v0.0.0-...-32a2d26 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ranma

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

func NewRanma

func NewRanma(addr string, dropInOnRepair bool, timeoutMs int, depth int) *Ranma

func (*Ranma) GetIn

func (r *Ranma) GetIn(sn int) uint16

func (*Ranma) GetInBit

func (r *Ranma) GetInBit(sn, bn int) bool

func (*Ranma) GetOut

func (r *Ranma) GetOut(sn int) uint16

func (*Ranma) GetOutBit

func (r *Ranma) GetOutBit(sn, bn int) bool

func (*Ranma) SetIn

func (r *Ranma) SetIn(sn int, x uint16)

func (*Ranma) XorIn

func (r *Ranma) XorIn(sn int, x uint16)

func (*Ranma) XorInByte

func (r *Ranma) XorInByte(sn, bn int)

type ReqResp

type ReqResp struct {
	Programmed uint16 `json:"programmed"`
	Corrected  uint16 `json:"corrected"`
	Id         int    `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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