Documentation ¶
Index ¶
- type Band
- type BandsDownUp
- type Bins
- type BinsBits
- type BinsBitsDownUp
- type BinsFloat
- type BinsFloatDownUp
- type BinsFloatMinMax
- type BinsFloatMinMaxDownUp
- type BinsHistory
- type BoolValue
- type Duration
- type ErrorsHistory
- type FloatValue
- type IntValue
- type Inventory
- type Mode
- type ModeSubtype
- type ModeType
- type OLRValue
- type State
- type Status
- type Value
- type ValueBandwidth
- type ValueDecibel
- type ValueMilliseconds
- type ValuePower
- type ValueSymbols
- type VectoringState
- type VectoringValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandsDownUp ¶
type Bins ¶
type Bins struct { Mode Mode Bands BandsDownUp // PilotTones contains the bin indexes of all pilot tones PilotTones []int // Bits is the number of bits modulated onto the subcarrier, valid range: 0 to 15 Bits BinsBitsDownUp // SNR is the signal-to-noise ratio in dB, valid range: -32 to 95 SNR BinsFloatDownUp // QLN is the level of noise present on the line without any xDSL signal in dBm/Hz, valid range: -150 to -23 QLN BinsFloatDownUp // Hlog is the channel characteristic and estimates the attenuation in dB, valid range: -96.2 to 6 Hlog BinsFloatDownUp }
type BinsBitsDownUp ¶
type BinsFloatDownUp ¶
type BinsFloatMinMax ¶
type BinsFloatMinMaxDownUp ¶
type BinsFloatMinMaxDownUp struct { Downstream BinsFloatMinMax Upstream BinsFloatMinMax }
type BinsHistory ¶
type BinsHistory struct {
SNR BinsFloatMinMaxDownUp
}
type BoolValue ¶
func (*BoolValue) UnmarshalJSON ¶
type ErrorsHistory ¶
type ErrorsHistory struct { EndTime time.Time PeriodLength time.Duration PeriodCount int Showtime []BoolValue DownstreamRTXTXCount []IntValue UpstreamRTXTXCount []IntValue DownstreamRTXCCount []IntValue UpstreamRTXCCount []IntValue DownstreamRTXUCCount []IntValue UpstreamRTXUCCount []IntValue DownstreamFECCount []IntValue UpstreamFECCount []IntValue DownstreamCRCCount []IntValue UpstreamCRCCount []IntValue DownstreamESCount []IntValue UpstreamESCount []IntValue DownstreamSESCount []IntValue UpstreamSESCount []IntValue }
func (ErrorsHistory) String ¶
func (h ErrorsHistory) String() string
type FloatValue ¶
func (FloatValue) String ¶
func (v FloatValue) String() string
func (FloatValue) Unit ¶
func (v FloatValue) Unit() string
func (*FloatValue) UnmarshalJSON ¶
func (v *FloatValue) UnmarshalJSON(data []byte) error
func (FloatValue) Value ¶
func (v FloatValue) Value() string
type IntValue ¶
func (*IntValue) UnmarshalJSON ¶
type ModeSubtype ¶
type ModeSubtype int
const ( ModeSubtypeUnknown ModeSubtype = iota ModeSubtypeAnnexA ModeSubtypeAnnexB ModeSubtypeAnnexI ModeSubtypeAnnexJ ModeSubtypeAnnexL ModeSubtypeAnnexM ModeSubtypeProfile8a ModeSubtypeProfile8b ModeSubtypeProfile8c ModeSubtypeProfile8d ModeSubtypeProfile12a ModeSubtypeProfile12b ModeSubtypeProfile17a ModeSubtypeProfile30a ModeSubtypeProfile35b )
func (ModeSubtype) String ¶
func (s ModeSubtype) String() string
type Status ¶
type Status struct { State State Mode Mode Uptime Duration DownstreamActualRate ValueBandwidth UpstreamActualRate ValueBandwidth DownstreamAttainableRate ValueBandwidth UpstreamAttainableRate ValueBandwidth DownstreamMinimumErrorFreeThroughput ValueBandwidth UpstreamMinimumErrorFreeThroughput ValueBandwidth DownstreamBitswap OLRValue UpstreamBitswap OLRValue DownstreamSeamlessRateAdaptation OLRValue UpstreamSeamlessRateAdaptation OLRValue DownstreamInterleavingDelay ValueMilliseconds UpstreamInterleavingDelay ValueMilliseconds DownstreamImpulseNoiseProtection ValueSymbols UpstreamImpulseNoiseProtection ValueSymbols DownstreamRetransmissionEnabled BoolValue UpstreamRetransmissionEnabled BoolValue DownstreamVectoringState VectoringValue UpstreamVectoringState VectoringValue DownstreamAttenuation ValueDecibel UpstreamAttenuation ValueDecibel DownstreamSNRMargin ValueDecibel UpstreamSNRMargin ValueDecibel DownstreamPower ValuePower UpstreamPower ValuePower DownstreamRTXTXCount IntValue UpstreamRTXTXCount IntValue DownstreamRTXCCount IntValue UpstreamRTXCCount IntValue DownstreamRTXUCCount IntValue UpstreamRTXUCCount IntValue DownstreamFECCount IntValue UpstreamFECCount IntValue DownstreamCRCCount IntValue UpstreamCRCCount IntValue DownstreamESCount IntValue UpstreamESCount IntValue DownstreamSESCount IntValue UpstreamSESCount IntValue FarEndInventory Inventory NearEndInventory Inventory }
type ValueBandwidth ¶
type ValueBandwidth struct {
IntValue
}
func (ValueBandwidth) String ¶
func (v ValueBandwidth) String() string
func (ValueBandwidth) Unit ¶
func (v ValueBandwidth) Unit() string
type ValueDecibel ¶
type ValueDecibel struct {
FloatValue
}
func (ValueDecibel) String ¶
func (v ValueDecibel) String() string
func (ValueDecibel) Unit ¶
func (v ValueDecibel) Unit() string
type ValueMilliseconds ¶
type ValueMilliseconds struct {
FloatValue
}
func (ValueMilliseconds) String ¶
func (v ValueMilliseconds) String() string
func (ValueMilliseconds) Unit ¶
func (v ValueMilliseconds) Unit() string
func (ValueMilliseconds) Value ¶
func (v ValueMilliseconds) Value() string
type ValuePower ¶
type ValuePower struct {
FloatValue
}
func (ValuePower) String ¶
func (v ValuePower) String() string
func (ValuePower) Unit ¶
func (v ValuePower) Unit() string
type ValueSymbols ¶
type ValueSymbols struct {
FloatValue
}
func (ValueSymbols) String ¶
func (v ValueSymbols) String() string
func (ValueSymbols) Unit ¶
func (v ValueSymbols) Unit() string
type VectoringState ¶
type VectoringState int
const ( VectoringStateOff VectoringState = iota VectoringStateFriendly VectoringStateFull )
func (VectoringState) String ¶
func (v VectoringState) String() string
type VectoringValue ¶
type VectoringValue struct { Valid bool State VectoringState }
func (VectoringValue) String ¶
func (v VectoringValue) String() string
func (VectoringValue) Unit ¶
func (v VectoringValue) Unit() string
func (VectoringValue) Value ¶
func (v VectoringValue) Value() string
Click to show internal directories.
Click to hide internal directories.