Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BandMap = &Bands{ bands: []Band{ { Spec: S_5G, Shortname: "n71", Frequency: 0.6, }, { Spec: S_5G, Shortname: "n41", Frequency: 2.5, }, { Spec: S_5G, Shortname: "n2", Frequency: 3.4, }, { Spec: S_5G, Shortname: "n77", Frequency: 3.7, }, { Spec: S_5G, Shortname: "n258", Frequency: 24, }, { Spec: S_5G, Shortname: "n261", Frequency: 39, }, { Spec: S_5G, Shortname: "n262", Frequency: 47, }, { Spec: S_LTE, Shortname: "B71", Frequency: 0.6, }, { Spec: S_LTE, Shortname: "B12", Frequency: 0.7, }, { Spec: S_LTE, Shortname: "B5", Frequency: 0.85, }, { Spec: S_LTE, Shortname: "B4", Frequency: 1.7, }, { Spec: S_LTE, Shortname: "B66", Frequency: 2.1, }, { Spec: S_LTE, Shortname: "B2", Frequency: 1.9, }, }, }
BandMap is a mapped list of band names and their associated Spectrum and Frequency in GHz
Functions ¶
This section is empty.
Types ¶
type Bands ¶
type Bands struct {
// contains filtered or unexported fields
}
Bands contains a list of bands the software may encounter
func (*Bands) BandFromShortname ¶
BandFromShortname when given an appropriate shortname will return the band object associated with it, else nil
func (*Bands) FrequencyFromShortname ¶
FrequencyFromShortname when given an appropriate shortname will return the associated freuency in GHz, else 0
Click to show internal directories.
Click to hide internal directories.