Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2022 Changes in this version + const DefaultAddress + type ATTReport struct + AccLen float64 + AccX float64 + AccY float64 + AccZ float64 + Class string + Depth float64 + Device string + Dip float64 + GyroX float64 + GyroY float64 + Heading float64 + MagLen float64 + MagSt string + MagX float64 + MagY float64 + MagZ float64 + Pitch float64 + PitchSt string + Roll float64 + RollSt string + Tag string + Temperature float64 + Time time.Time + Yaw float64 + YawSt string + type DEVICEReport struct + Activated string + Bps int + Class string + Cycle float64 + Driver string + Flags int + Mincycle float64 + Native int + Parity string + Path string + Stopbits string + Subtype string + type DEVICESReport struct + Class string + Devices []DEVICEReport + Remote string + type ERRORReport struct + Class string + Message string + type Filter func(interface{}) + type GSTReport struct + Alt float64 + Class string + Device string + Lat float64 + Lon float64 + Major float64 + Minor float64 + Orient float64 + Rms float64 + Tag string + Time time.Time + type Mode byte + const Mode2D + const Mode3D + const NoFix + const NoValueSeen + type PPSReport struct + Class string + ClockMusec float64 + ClockSec float64 + Device string + RealMusec float64 + RealSec float64 + type SKYReport struct + Class string + Device string + Gdop float64 + Hdop float64 + Pdop float64 + Satellites []Satellite + Tag string + Tdop float64 + Time time.Time + Vdop float64 + Xdop float64 + Ydop float64 + type Satellite struct + Az float64 + El float64 + PRN float64 + Ss float64 + Used bool + type Session struct + func Dial(address string) (*Session, error) + func DialTimeout(address string, to time.Duration) (*Session, error) + func (s *Session) AddFilter(class string, f Filter) + func (s *Session) SendCommand(command string) + func (s *Session) Watch() (done chan bool) + type TPVReport struct + Alt float64 + Class string + Climb float64 + Device string + Epc float64 + Epd float64 + Eps float64 + Ept float64 + Epv float64 + Epx float64 + Epy float64 + Lat float64 + Lon float64 + Mode Mode + Speed float64 + Tag string + Time time.Time + Track float64 + type VERSIONReport struct + Class string + ProtoMajor int + ProtoMinor int + Release string + Remote string + Rev string