Skip to content

Commit

Permalink
add new satellite fields: gnssid, svid and health
Browse files Browse the repository at this point in the history
  • Loading branch information
swilcox authored Sep 24, 2023
1 parent 2cf3c4e commit 0dede48
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions gpsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,14 @@ type ERRORReport struct {

// Satellite describes a location of a GPS satellite
type Satellite struct {
PRN float64 `json:"PRN"`
Az float64 `json:"az"`
El float64 `json:"el"`
Ss float64 `json:"ss"`
Used bool `json:"used"`
PRN float64 `json:"PRN"`
Az float64 `json:"az"`
El float64 `json:"el"`
Ss float64 `json:"ss"`
Used bool `json:"used"`
GnssId float64 `json:"gnssid"`
SvId float64 `json:"svid"`
Health float64 `json:"health"`
}

// Dial opens a new connection to GPSD.
Expand Down

0 comments on commit 0dede48

Please sign in to comment.