Changes
This commit is contained in:
@@ -28,6 +28,15 @@ type Info struct {
|
|||||||
Extra map[string]any `yaml:"extra" json:"extra"` // Extra metadata
|
Extra map[string]any `yaml:"extra" json:"extra"` // Extra metadata
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Stats descriptor.
|
||||||
|
type Stats struct {
|
||||||
|
Voltage float64 `json:"voltage"` // System or battery voltage
|
||||||
|
Connections int `json:"connections"` // Active connections/neighbours/peers.
|
||||||
|
Backlog int `json:"backlog"` // Packet/payload backlog
|
||||||
|
Errors int `json:"errors"` // Errors encountered
|
||||||
|
NoiseFloor float64 `json:"noise_floor"` // Noise floor
|
||||||
|
}
|
||||||
|
|
||||||
type Position struct {
|
type Position struct {
|
||||||
Latitude float64 `json:"latitude"`
|
Latitude float64 `json:"latitude"`
|
||||||
Longitude float64 `json:"longitude"`
|
Longitude float64 `json:"longitude"`
|
||||||
|
|||||||
Reference in New Issue
Block a user