axsensor

package
v0.0.0-...-e50fb58 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decoder

func Decoder(ctx context.Context, deviceID string, e application.SensorEvent) ([]lwm2m.Lwm2mObject, error)

Types

type AxsensorPayload

type AxsensorPayload struct {
	Distance         *float64 `json:"distance,omitempty"`
	Level            *float64 `json:"level,omitempty"`
	Pressure         *float64 `json:"pressure,omitempty"`
	Temperature      *float64 `json:"temperature,omitempty"`
	RelativeHumidity *float64 `json:"relativeHumidity,omitempty"`
	Vbat             *float64 `json:"vbat,omitempty"`
}

Jump to

Keyboard shortcuts

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