Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderErr ¶
func (*DecoderErr) Error ¶
func (e *DecoderErr) Error() string
type Measurement ¶
type SensorEvent ¶
type SensorEvent struct { DevEui string `json:"devEui"` DeviceName string `json:"deviceName"` SensorType string `json:"sensorType"` FPort uint8 `json:"fPort"` Data []byte `json:"data"` Object json.RawMessage `json:"object,omitempty"` Tags map[string][]string `json:"tags,omitempty"` Timestamp time.Time `json:"timestamp"` RXInfo RXInfo `json:"rxInfo,omitempty"` TXInfo TXInfo `json:"txInfo,omitempty"` Error Error `json:"error,omitempty"` }
func ChirpStack ¶
func ChirpStack(uplinkPayload []byte) (SensorEvent, error)
func Netmore ¶
func Netmore(uplinkPayload []byte) (SensorEvent, error)
func (*SensorEvent) HasError ¶
func (s *SensorEvent) HasError() bool
type UplinkASFunc ¶
type UplinkASFunc func([]byte) (SensorEvent, error)
func GetFacade ¶
func GetFacade(as string) UplinkASFunc
Click to show internal directories.
Click to hide internal directories.