model18

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          = 18
	ModelLabel       = "Cellular Link"
	ModelDescription = "Include this model to support a cellular interface link"
)
View Source
const (
	APN  = "APN"
	IMEI = "IMEI"
	Nam  = "Nam"
	Num  = "Num"
	Pin  = "Pin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block18

type Block18 struct {
	Nam  string `sunspec:"offset=0,len=4,access=rw"`
	IMEI uint32 `sunspec:"offset=4,access=rw"`
	APN  string `sunspec:"offset=6,len=4,access=rw"`
	Num  string `sunspec:"offset=10,len=6,access=rw"`
	Pin  string `sunspec:"offset=16,len=6,access=rw"`
}

func (*Block18) GetId

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

Jump to

Keyboard shortcuts

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