Documentation ¶
Index ¶
- Variables
- func IsValidCompressedSymTable(c byte) bool
- func IsValidUncompressedSymTable(c byte) bool
- func ParseTime(s string) (time.Time, error)
- type Address
- type DataType
- type OmniDFStrength
- type Packet
- type Path
- type Payload
- type Position
- func ParseCompressedPosition(s string) (pos Position, txt string, err error)
- func ParsePosition(s string, compressed bool) (Position, string, error)
- func ParsePositionBoth(s string) (pos Position, txt string, err error)
- func ParsePositionGrid(s string) (pos Position, txt string, err error)
- func ParseUncompressedPosition(s string) (pos Position, txt string, err error)
- type PowerHeightGain
- type Symbol
- type Velocity
- type Wind
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAddressInvalid = errors.New(`aprs: invalid address`)
)
View Source
var (
ErrBase91Decode = errors.New(`aprs: invalid base-91 encoding`)
)
View Source
var (
ErrInvalidPacket = errors.New(`aprs: invalid packet`)
)
View Source
var (
ErrInvalidPosition = errors.New(`aprs: invalid position`)
)
View Source
var (
ErrInvalidTime = errors.New(`aprs: invalid time`)
)
Functions ¶
Types ¶
type OmniDFStrength ¶
func (OmniDFStrength) Directivity ¶
func (o OmniDFStrength) Directivity() float64
func (OmniDFStrength) Gain ¶
func (o OmniDFStrength) Gain() int
func (OmniDFStrength) Height ¶
func (o OmniDFStrength) Height() float64
func (OmniDFStrength) Strength ¶
func (o OmniDFStrength) Strength() int
type Packet ¶
type Packet struct { Raw string Src *Address Dst *Address Path Path Payload Payload Position *Position Time *time.Time Altitude float64 // Feet Velocity Velocity Wind Wind PHG PowerHeightGain DFS OmniDFStrength Range float64 // Miles Comment string // contains filtered or unexported fields }
func ParsePacket ¶
type Position ¶
type Position struct { Latitude float64 // Degrees Longitude float64 // Degrees Ambiguity int Symbol Symbol Compressed bool }
func ParseCompressedPosition ¶
type PowerHeightGain ¶
func (PowerHeightGain) Directivity ¶
func (p PowerHeightGain) Directivity() float64
func (PowerHeightGain) Gain ¶
func (p PowerHeightGain) Gain() int
func (PowerHeightGain) Height ¶
func (p PowerHeightGain) Height() float64
func (PowerHeightGain) Power ¶
func (p PowerHeightGain) Power() int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.