lwm2m

package
v0.64.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigmapFolderPath      = "/etc/edgedevice/config"
	ConfigmapInstructionsStr = "instructions"
	ObjectIdStr              = "ObjectId"
	DataTypeStr              = "DataType"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

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

func New

func New() (*Gateway, error)

func (*Gateway) LoadConfiguration

func (g *Gateway) LoadConfiguration() error

LoadCfg loads the configuration from the ConfigMap

func (*Gateway) ShutDown

func (g *Gateway) ShutDown()

func (*Gateway) Start

func (g *Gateway) Start() error

Start starts the gateway

type ShifuInstruction

type ShifuInstruction struct {
	ObjectId string
	Endpoint string
	DataType string
}

func (*ShifuInstruction) Execute

func (si *ShifuInstruction) Execute() error

func (*ShifuInstruction) Read

func (si *ShifuInstruction) Read() (interface{}, error)

func (*ShifuInstruction) Write

func (si *ShifuInstruction) Write(data interface{}) error

Directories

Path Synopsis
Reference to https://datatracker.ietf.org/doc/html/rfc6690 unused for now
Reference to https://datatracker.ietf.org/doc/html/rfc6690 unused for now

Jump to

Keyboard shortcuts

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