Documentation
¶
Overview ¶
Package wspr implements the WSPR digital mode.
This implementation is based on G4JNT's description of the WSPR coding process: http://g4jnt.com/WSPR_Coding_Process.pdf. Many thanks to Andy/G4JNT for working this out!
Index ¶
Constants ¶
View Source
const ( Sym0 = Symbol(0.0 * symbolDelta) Sym1 = Symbol(1.0 * symbolDelta) Sym2 = Symbol(2.0 * symbolDelta) Sym3 = Symbol(3.0 * symbolDelta) )
The four WSPR symbols.
Variables ¶
View Source
var SymbolDuration = (8192 * 1000 / 12) * time.Microsecond
SymbolDuration is the duration of one WSRP symbol.
Symbols contains all WSPR symbols.
Functions ¶
Types ¶
type Symbol ¶
type Symbol float64
Symbol in WSPR. The value represents the delta to the base frequency.
type Transmission ¶
type Transmission [162]Symbol
Transmission of WSPR symbols.
func ToTransmission ¶
func ToTransmission(callsign string, locator string, dBm int) (Transmission, error)
ToTransmission converts the given data into a WSPR transmission.
Click to show internal directories.
Click to hide internal directories.