transcoder

package
v0.0.0-...-fc9913b Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalJSON

func MarshalJSON(sensor models.Sensor) (jsonData []byte, err error)

Types

type SensorDecoder

type SensorDecoder struct {
	ByteStream  []int
	EEP         models.EEP
	EEPMetadata models.Telegrams
}

func (SensorDecoder) Decode

func (f SensorDecoder) Decode(byteStream []int, eep models.EEP) (sensor models.Sensor, ok bool)

func (*SensorDecoder) LoadEEPs

func (f *SensorDecoder) LoadEEPs() (loaded bool)

Jump to

Keyboard shortcuts

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