model19

package
v0.0.0-...-1daccfa Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelID          = 19
	ModelLabel       = "PPP Link"
	ModelDescription = "Include this model to configure a Point-to-Point Protocol link"
)
View Source
const (
	Auth   = "Auth"
	Bits   = "Bits"
	Dup    = "Dup"
	Flw    = "Flw"
	Nam    = "Nam"
	Pad    = "Pad"
	Pty    = "Pty"
	Pw     = "Pw"
	Rte    = "Rte"
	UsrNam = "UsrNam"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block19

type Block19 struct {
	Nam    string         `sunspec:"offset=0,len=4,access=rw"`
	Rte    uint32         `sunspec:"offset=4,access=rw"`
	Bits   uint16         `sunspec:"offset=6,access=rw"`
	Pty    sunspec.Enum16 `sunspec:"offset=7,access=rw"`
	Dup    sunspec.Enum16 `sunspec:"offset=8,access=rw"`
	Flw    sunspec.Enum16 `sunspec:"offset=9,access=rw"`
	Auth   sunspec.Enum16 `sunspec:"offset=10"`
	UsrNam string         `sunspec:"offset=11,len=12"`
	Pw     string         `sunspec:"offset=23,len=6"`
	Pad    sunspec.Pad    `sunspec:"offset=29"`
}

func (*Block19) GetId

func (block *Block19) GetId() sunspec.ModelId

Jump to

Keyboard shortcuts

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