gprmc

package
v0.0.0-...-5afb5fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(sentence GPRMC) (string, error)

func BuildMinimal

func BuildMinimal(now time.Time, longitude, latitude float64) (string, error)

func Parse

func Parse(sentence string, v *GPRMC) error

Types

type GPRMC

type GPRMC struct {
	DateTime          time.Time
	ReceiverStatus    string // A = OK, V = Warning
	Latitude          float64
	Longitude         float64
	Speed             float64
	Course            float64
	MagneticVariation float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL