MCPcopy Index your code
hub / github.com/bemasher/rtlamr / Decoder

Struct Decoder

protocol/decode.go:64–82  ·  view source on GitHub ↗

Decoder contains buffers and radio configuration.

Source from the content-addressed store, hash-verified

62
63// Decoder contains buffers and radio configuration.
64type Decoder struct {
65 Cfg PacketConfig
66 wg *sync.WaitGroup
67
68 Signal []float64
69 Quantized []byte
70
71 csum []float64
72 demod Demodulator
73
74 preambleStrs map[string]bool
75 preambles map[string][]Parser
76 protocols []string
77
78 pkt []byte
79
80 packed []byte
81 sIdxA, sIdxB []int
82}
83
84func NewDecoder() Decoder {
85 return Decoder{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected