Documentation ¶
Overview ¶
Package lora contains LoRa modulation utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustedRSSI ¶
AdjustedRSSI returns the LoRa RSSI: the channel RSSI adjusted for SNR. Below -5 dB, the SNR is added to the channel RSSI. Between -5 dB and 10 dB, the SNR is scaled to 0 and added to the channel RSSI.
func GetAdjustedReceivedAt ¶ added in v3.24.0
func GetAdjustedReceivedAt(up UplinkMessage) *timestamppb.Timestamp
GetAdjustedReceivedAt tries to improve the ReceivedAt timestamp using the message's GpsTime and metadatas' ReceivedAt.
Types ¶
type UplinkMessage ¶ added in v3.24.0
type UplinkMessage interface { GetRxMetadata() []*ttnpb.RxMetadata GetReceivedAt() *timestamppb.Timestamp }
UplinkMessage describes a message that holds RxMetadata and timestamp.
Click to show internal directories.
Click to hide internal directories.