Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStartLocation ¶
func GetStartLocation(rxInfo []*gw.UplinkRXInfo) *common.Location
GetStartLocation returns the location of the gateway closest to the device in terms of SNR.
func GetTimeSinceGPSEpoch ¶
func GetTimeSinceGPSEpoch(rxInfo []*gw.UplinkRXInfo) *time.Duration
GetTimeSinceGPSEpoch returns the time since GPS epoch if it is available in the uplink payload.
func GetTimestamp ¶
func GetTimestamp(rxInfo []*gw.UplinkRXInfo) time.Time
GetTimestamp returns the RX timestamp.
Types ¶
type EUI64 ¶
type EUI64 [8]byte
EUI64 defines the EUI64.
func (EUI64) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*EUI64) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type HEXBytes ¶
type HEXBytes []byte
HEXBytes defines a type which represents bytes as HEX when marshaled to text.
func (HEXBytes) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*HEXBytes) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.