Documentation ¶
Index ¶
- Constants
- type ApnCfg
- type Cell5GStat
- type Cell5GStats
- type CellCA4GDLStat
- type CellCA4GDLStat0
- type CellCAStats
- type CellLTEStat
- type CellLTEStats
- type CellularStats
- type ConnectionStatus
- type EthernetStats
- type EthernetStatsStat
- type FastmileRadioStatus
- type FastmileReturn
- func (f *FastmileReturn) BytesRecv() float64
- func (f *FastmileReturn) BytesSent() float64
- func (f *FastmileReturn) Stat5G() *Cell5GStat
- func (f *FastmileReturn) StatCellular() *CellularStats
- func (f *FastmileReturn) StatEthernet() *EthernetStats
- func (f *FastmileReturn) StatLTE() *CellLTEStat
- func (f *FastmileReturn) Status() float64
- type PingReport
- type PingReportReturn
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell5GStat ¶
type Cell5GStat struct { SNRCurrent float64 `json:"SNRCurrent"` RSRPCurrent float64 `json:"RSRPCurrent"` RSRPStrengthIndexCurrent float64 `json:"RSRPStrengthIndexCurrent"` PhysicalCellID string `json:"PhysicalCellID"` RSRQCurrent float64 `json:"RSRQCurrent"` DownlinkNRARFCN float64 `json:"Downlink_NR_ARFCN"` SignalStrengthLevel float64 `json:"SignalStrengthLevel"` Band string `json:"Band"` }
func (*Cell5GStat) Band64 ¶ added in v0.0.5
func (c *Cell5GStat) Band64() float64
func (*Cell5GStat) ID ¶ added in v0.0.5
func (c *Cell5GStat) ID() float64
func (*Cell5GStat) RSRPQuality ¶ added in v0.0.3
func (c *Cell5GStat) RSRPQuality(min float64, max float64) float64
func (*Cell5GStat) RSRQQuality ¶ added in v0.0.3
func (c *Cell5GStat) RSRQQuality(min float64, max float64) float64
func (*Cell5GStat) SNRQuality ¶ added in v0.0.3
func (c *Cell5GStat) SNRQuality(min float64, max float64) float64
type Cell5GStats ¶
type Cell5GStats struct {
Stat *Cell5GStat `json:"stat"`
}
type CellCA4GDLStat ¶
type CellCA4GDLStat0 ¶
type CellCA4GDLStat0 struct {
Ca4GDL0 *CellCA4GDLStat `json:"0"`
}
type CellCAStats ¶
type CellCAStats struct { DLCarrierAggregationNumberOfEntries int `json:"X_ALU_COM_DLCarrierAggregationNumberOfEntries"` ULCarrierAggregationNumberOfEntries int `json:"X_ALU_COM_ULCarrierAggregationNumberOfEntries"` Ca4GDL *CellCA4GDLStat0 `json:"ca4GDL"` }
type CellLTEStat ¶
type CellLTEStat struct { RSSICurrent float64 `json:"RSSICurrent"` SNRCurrent float64 `json:"SNRCurrent"` RSRPCurrent float64 `json:"RSRPCurrent"` RSRPStrengthIndexCurrent float64 `json:"RSRPStrengthIndexCurrent"` PhysicalCellID string `json:"PhysicalCellID"` RSRQCurrent float64 `json:"RSRQCurrent"` DownlinkEarfcn float64 `json:"DownlinkEarfcn"` SignalStrengthLevel float64 `json:"SignalStrengthLevel"` Band string `json:"Band"` }
func (*CellLTEStat) Band64 ¶ added in v0.0.5
func (c *CellLTEStat) Band64() float64
func (*CellLTEStat) ID ¶ added in v0.0.5
func (c *CellLTEStat) ID() float64
func (*CellLTEStat) RSRPQuality ¶ added in v0.0.3
func (c *CellLTEStat) RSRPQuality(min float64, max float64) float64
func (*CellLTEStat) RSRQQuality ¶ added in v0.0.3
func (c *CellLTEStat) RSRQQuality(min float64, max float64) float64
func (*CellLTEStat) SNRQuality ¶ added in v0.0.3
func (c *CellLTEStat) SNRQuality(min float64, max float64) float64
type CellLTEStats ¶
type CellLTEStats struct {
Stat *CellLTEStat `json:"stat"`
}
type CellularStats ¶
type ConnectionStatus ¶
type ConnectionStatus struct {
ConnectionStatus int `json:"ConnectionStatus"`
}
type EthernetStats ¶
type EthernetStats struct { Enable int `json:"Enable"` Status string `json:"Status"` Stat *EthernetStatsStat `json:"stat"` }
type EthernetStatsStat ¶
type FastmileRadioStatus ¶
type FastmileRadioStatus struct { ConnectionStatus []*ConnectionStatus `json:"connection_status"` ApCfg []*ApnCfg `json:"apn_cfg"` CellularStats []*CellularStats `json:"cellular_stats"` EthernetStats []*EthernetStats `json:"ethernet_stats"` CellCAStats []*CellCAStats `json:"cell_CA_stats_cfg"` Cell5GStats []*Cell5GStats `json:"cell_5G_stats_cfg"` CellLTEStats []*CellLTEStats `json:"cell_LTE_stats_cfg"` }
type FastmileReturn ¶ added in v0.0.3
type FastmileReturn struct { Error error Body *FastmileRadioStatus }
func (*FastmileReturn) BytesRecv ¶ added in v0.0.5
func (f *FastmileReturn) BytesRecv() float64
func (*FastmileReturn) BytesSent ¶ added in v0.0.5
func (f *FastmileReturn) BytesSent() float64
func (*FastmileReturn) Stat5G ¶ added in v0.0.5
func (f *FastmileReturn) Stat5G() *Cell5GStat
Stat5G returns the attached 5G stats
func (*FastmileReturn) StatCellular ¶ added in v0.0.5
func (f *FastmileReturn) StatCellular() *CellularStats
StatCellular returns the attached Cellular stats
func (*FastmileReturn) StatEthernet ¶ added in v0.0.5
func (f *FastmileReturn) StatEthernet() *EthernetStats
func (*FastmileReturn) StatLTE ¶ added in v0.0.5
func (f *FastmileReturn) StatLTE() *CellLTEStat
StatLTE returns the attached LTE stats
func (*FastmileReturn) Status ¶ added in v0.0.5
func (f *FastmileReturn) Status() float64
type PingReport ¶ added in v0.0.3
type PingReportReturn ¶ added in v0.0.3
type PingReportReturn struct { Error error Body *PingReport }
Click to show internal directories.
Click to hide internal directories.