deviceshifulwm2m

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

TODO: need to test for deviceshifu LwM2M

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceCommandHandlerLwM2M

type DeviceCommandHandlerLwM2M struct {
	HandlerMetaData *HandlerMetaData
	// contains filtered or unexported fields
}

DeviceCommandHandlerLwM2M handler for http

type DeviceShifuLwM2M

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

DeviceShifuLwM2M deviceshifu for LwM2M

func New

func New(deviceShifuMetadata *deviceshifubase.DeviceShifuMetaData) (*DeviceShifuLwM2M, error)

New This function creates a new Device Shifu based on the configuration

func (*DeviceShifuLwM2M) Start

func (ds *DeviceShifuLwM2M) Start(stopCh <-chan struct{}) error

Start start http telemetry

func (*DeviceShifuLwM2M) Stop

func (ds *DeviceShifuLwM2M) Stop() error

Stop stop http server

type HandlerMetaData

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

HandlerMetaData MetaData for HTTPhandler

type LwM2MInstruction

type LwM2MInstruction struct {
	Instructions map[string]*LwM2MProtocolProperty
}

func CreateLwM2MInstructions

func CreateLwM2MInstructions(dsInstructions *deviceshifubase.DeviceShifuInstructions) *LwM2MInstruction

type LwM2MProtocolProperty

type LwM2MProtocolProperty struct {
	EnableObserve bool
	ObjectId      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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