Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 { PHYPayload lorawan.PHYPayload TXInfo TXInfo RXInfoSet RXInfoSet }
RXPacket contains a received PHYPayload together with its RX metadata.
func (RXPacket) GetGWUplinkRXInfoSet ¶
func (r RXPacket) GetGWUplinkRXInfoSet() []*gw.UplinkRXInfo
GetGWUplinkRXInfoSet returns the gw.UplinkTXInfo set. TODO: replace original RXInfo with gw.UplinkTXInfo.
func (RXPacket) GetGWUplinkTXInfo ¶
func (r RXPacket) GetGWUplinkTXInfo() *gw.UplinkTXInfo
GetGWUplinkTXInfo returns the gw.UplinkTXInfo struct. TODO: replace original TXInfo with this gw.UplinkTXInfo.
Click to show internal directories.
Click to hide internal directories.