Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BySignalStrength ¶
type BySignalStrength []*gw.UplinkRXInfo
BySignalStrength implements sort.Interface for []gw.UplinkRXInfo based on signal strength.
func (BySignalStrength) Len ¶
func (s BySignalStrength) Len() int
func (BySignalStrength) Less ¶
func (s BySignalStrength) Less(i, j int) bool
func (BySignalStrength) Swap ¶
func (s BySignalStrength) Swap(i, j int)
type RXInfo ¶
type RXInfo struct {
MAC lorawan.EUI64
Time *time.Time
TimeSinceGPSEpoch *gw.Duration
Timestamp uint32
RSSI int
LoRaSNR float64
Board int
Antenna int
RFChain int
Channel int
}
RXInfo defines the RX related metadata (for each receiving gateway).
type RXInfoSet ¶
type RXInfoSet []RXInfo
RXInfoSet implements a sortable slice of RXInfo elements. First it is sorted by LoRaSNR, within the sub-set where LoRaSNR > maxSNRForSort, it will sort by RSSI.
type RXPacket ¶
type RXPacket struct {
DR int
PHYPayload lorawan.PHYPayload
TXInfo *gw.UplinkTXInfo
RXInfoSet []*gw.UplinkRXInfo
}
RXPacket contains a received PHYPayload together with its RX metadata.
Click to show internal directories.
Click to hide internal directories.