Documentation ¶
Overview ¶
Package lorawan provides types for working with LoRaWAN payloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { DecodedPayload json.RawMessage `json:"decodedPayload"` Device Device `json:"device"` ID string `json:"id"` Metadata Metadata `json:"metadata"` Payload string `json:"payload"` Timestamp int64 `json:"timestamp"` Via []Via `json:"via"` }
Data represents the data field of a lorawan payload
type GWMetadata ¶
type Via ¶
type Via struct { Channel int `json:"channel"` Frequency float64 `json:"frequency"` ID string `json:"id"` Location Location `json:"location"` Metadata GWMetadata `json:"metadata"` Network string `json:"network"` Protocol string `json:"protocol"` Spreading string `json:"spreading"` Status string `json:"status"` Timestamp int64 `json:"timestamp"` }
Click to show internal directories.
Click to hide internal directories.