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

Method GetDynamic

pkg/ttnpb/end_device.pb.go:1486–1491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1484}
1485
1486func (x *ADRSettings) GetDynamic() *ADRSettings_DynamicMode {
1487 if x, ok := x.GetMode().(*ADRSettings_Dynamic); ok {
1488 return x.Dynamic
1489 }
1490 return nil
1491}
1492
1493func (x *ADRSettings) GetDisabled() *ADRSettings_DisabledMode {
1494 if x, ok := x.GetMode().(*ADRSettings_Disabled); ok {

Callers 15

ValidateFieldsMethod · 0.95
FieldIsZeroMethod · 0.95
mac.goFile · 0.45
validateProfileFunction · 0.45
deviceUseADRFunction · 0.45
deviceADRMarginFunction · 0.45
deviceADRChannelSteeringFunction · 0.45
clampDataRateRangeFunction · 0.45
clampTxPowerRangeFunction · 0.45

Calls 1

GetModeMethod · 0.95

Tested by

no test coverage detected