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

Method GetFsk

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

Source from the content-addressed store, hash-verified

3058}
3059
3060func (x *DataRate) GetFsk() *FSKDataRate {
3061 if x, ok := x.GetModulation().(*DataRate_Fsk); ok {
3062 return x.Fsk
3063 }
3064 return nil
3065}
3066
3067func (x *DataRate) GetLrfhss() *LRFHSSDataRate {
3068 if x, ok := x.GetModulation().(*DataRate_Lrfhss); ok {

Callers 6

ValidateFieldsMethod · 0.95
buildLoRaGatewayConfigFunction · 0.80
getDataRatesFromBandIDFunction · 0.80
BuildSX1301ConfigFunction · 0.80
MarshalJSONMethod · 0.80
StringMethod · 0.80

Calls 1

GetModulationMethod · 0.95

Tested by

no test coverage detected