MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / GetLora

Method GetLora

pkg/ttnpb/lorawan.pb.go:3053–3058  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3051}
3052
3053func (x *DataRate) GetLora() *LoRaDataRate {
3054 if x, ok := x.GetModulation().(*DataRate_Lora); ok {
3055 return x.Lora
3056 }
3057 return nil
3058}
3059
3060func (x *DataRate) GetFsk() *FSKDataRate {
3061 if x, ok := x.GetModulation().(*DataRate_Fsk); ok {

Callers 15

ValidateFieldsMethod · 0.95
TestBeaconFunction · 0.80
buildLoRaGatewayConfigFunction · 0.80
toUplinkMessageFunction · 0.80
fromDownlinkMessageFunction · 0.80
isNarrowDataRateIndexFunction · 0.80
demodulationFloorStepFunction · 0.80
adrMarginFunction · 0.80
ToConcentratorConfigMethod · 0.80
GetRouterConfigFunction · 0.80
getDataRatesFromBandIDFunction · 0.80
BuildSX1301ConfigFunction · 0.80

Calls 1

GetModulationMethod · 0.95

Tested by 3

TestBeaconFunction · 0.64
TestToGatewayUpFunction · 0.64
TestToGatewayUpRawFunction · 0.64