Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
A Decoder scans an io stream into UBX (0xB5-0x62 separated) or NMEA ("$xxx,,,,*FF\r\n") frames. If you have an unmixed stream of NMEA-only data you can use nmea.Decode() on bufio.Scanner.Bytes() directly.
func NewDecoder ¶
NewDecoder creates a new bufio Scanner with a splitfunc that can handle both UBX and NMEA frames.
Directories ¶
Path | Synopsis |
---|---|
Package NMEA defines structures that can decode and encode the standard and proprietary NMEA messages emitted by μ-Blox devices.
|
Package NMEA defines structures that can decode and encode the standard and proprietary NMEA messages emitted by μ-Blox devices. |
Package ubx contains definitions for UBX-XXX-YYY messages and functions to decode and encode them.
|
Package ubx contains definitions for UBX-XXX-YYY messages and functions to decode and encode them. |
Click to show internal directories.
Click to hide internal directories.