diff --git a/afsk_8hh_source.html b/afsk_8hh_source.html new file mode 100644 index 0000000..f9582be --- /dev/null +++ b/afsk_8hh_source.html @@ -0,0 +1,219 @@ + + +
+ + + +|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
+ 1.8.9.1
+
+
+
diff --git a/arrowdown.png b/arrowdown.png
new file mode 100644
index 0000000..0b63f6d
Binary files /dev/null and b/arrowdown.png differ
diff --git a/arrowright.png b/arrowright.png
new file mode 100644
index 0000000..c6ee22f
Binary files /dev/null and b/arrowright.png differ
diff --git a/ax25_8hh_source.html b/ax25_8hh_source.html
new file mode 100644
index 0000000..beaa6c7
--- /dev/null
+++ b/ax25_8hh_source.html
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
+ 1.8.9.1
+
+
+
diff --git a/baudot_8hh_source.html b/baudot_8hh_source.html
new file mode 100644
index 0000000..e8a28c6
--- /dev/null
+++ b/baudot_8hh_source.html
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_a_f_s_k-members.html b/classsdr_1_1_a_f_s_k-members.html
new file mode 100644
index 0000000..4f773dd
--- /dev/null
+++ b/classsdr_1_1_a_f_s_k-members.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
This is the complete list of members for sdr::AFSK, including all inherited members.
+| _baud | sdr::AFSK | protected |
| _buffer | sdr::AFSK | protected |
| _config | sdr::Source | protected |
| _corrLen | sdr::AFSK | protected |
| _dl | sdr::AFSK | protected |
| _dl_idx | sdr::AFSK | protected |
| _eos | sdr::Source | protected |
| _Fmark | sdr::AFSK | protected |
| _Fspace | sdr::AFSK | protected |
| _gainOmega | sdr::AFSK | protected |
| _getSymbol() | sdr::AFSK | inlineprotected |
| _lastBits | sdr::AFSK | protected |
| _lastSymSum | sdr::AFSK | protected |
| _lutIdx | sdr::AFSK | protected |
| _markHist | sdr::AFSK | protected |
| _markLUT | sdr::AFSK | protected |
| _mode | sdr::AFSK | protected |
| _mu | sdr::AFSK | protected |
| _muIncr | sdr::AFSK | protected |
| _omega | sdr::AFSK | protected |
| _omegaMax | sdr::AFSK | protected |
| _omegaMin | sdr::AFSK | protected |
| _phase | sdr::AFSK | protected |
| _sampleRate | sdr::AFSK | protected |
| _sinks | sdr::Source | protected |
| _spaceHist | sdr::AFSK | protected |
| _spaceLUT | sdr::AFSK | protected |
| _symbolIdx | sdr::AFSK | protected |
| _symbolRate | sdr::AFSK | protected |
| _symbols | sdr::AFSK | protected |
| _symSum | sdr::AFSK | protected |
| addEOS(T *instance, void(T::*function)()) | sdr::Source | inline |
| AFSK(double baud=1200.0, double Fmark=1200.0, double Fspace=2200.0, Mode mode=TRANSITION) | sdr::AFSK | |
| config(const Config &src_cfg) | sdr::AFSK | virtual |
| connect(SinkBase *sink, bool direct=false) | sdr::Source | |
| disconnect(SinkBase *sink) | sdr::Source | |
| handleBuffer(const RawBuffer &buffer, bool allow_overwrite) | sdr::Sink< int16_t > | inlinevirtual |
| Mode enum name | sdr::AFSK | |
| NORMAL enum value | sdr::AFSK | |
| process(const Buffer< int16_t > &buffer, bool allow_overwrite) | sdr::AFSK | virtual |
| propagateConfig(const Config &config) | sdr::Source | protected |
| sampleRate() const | sdr::Source | virtual |
| send(const RawBuffer &buffer, bool allow_overwrite=false) | sdr::Source | virtual |
| setConfig(const Config &config) | sdr::Source | virtual |
| signalEOS() | sdr::Source | protected |
| Sink() | sdr::Sink< int16_t > | inline |
| SinkBase() | sdr::SinkBase | |
| Source() | sdr::Source | |
| TRANSITION enum value | sdr::AFSK | |
| type() const | sdr::Source | virtual |
| ~AFSK() | sdr::AFSK | virtual |
| ~Sink() | sdr::Sink< int16_t > | inlinevirtual |
| ~SinkBase() | sdr::SinkBase | virtual |
| ~Source() | sdr::Source | virtual |
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_a_f_s_k.html b/classsdr_1_1_a_f_s_k.html
new file mode 100644
index 0000000..e466577
--- /dev/null
+++ b/classsdr_1_1_a_f_s_k.html
@@ -0,0 +1,1089 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
A simple (Audio) Frequency Shift Keying (AFSK) demodulator. + More...
+ +#include <afsk.hh>
+
+ +Public Types | |
| enum | Mode { NORMAL, +TRANSITION + } |
| Possible bit decoding modes. More... | |
+Public Member Functions | |
| AFSK (double baud=1200.0, double Fmark=1200.0, double Fspace=2200.0, Mode mode=TRANSITION) | |
Constructs a AFSK node with the specified baud rate and Fmark, Fspace frequencies. More... | |
| virtual | ~AFSK () |
| Destructor. More... | |
| virtual void | config (const Config &src_cfg) |
| Configures the node. More... | |
| virtual void | process (const Buffer< int16_t > &buffer, bool allow_overwrite) |
| Processes the given buffer. More... | |
Public Member Functions inherited from sdr::Sink< int16_t > | |
| Sink () | |
| Constructor. More... | |
| virtual | ~Sink () |
| Drestructor. More... | |
| virtual void | handleBuffer (const RawBuffer &buffer, bool allow_overwrite) |
Re-implemented from SinkBase. More... | |
Public Member Functions inherited from sdr::SinkBase | |
| SinkBase () | |
| Constructor. More... | |
| virtual | ~SinkBase () |
| Destructor. More... | |
Public Member Functions inherited from sdr::Source | |
| Source () | |
| Constructor. More... | |
| virtual | ~Source () |
| Destructor. More... | |
| virtual void | send (const RawBuffer &buffer, bool allow_overwrite=false) |
| Sends the given buffer to all connected sinks. More... | |
| void | connect (SinkBase *sink, bool direct=false) |
| Connect this source to a sink. More... | |
| void | disconnect (SinkBase *sink) |
| Disconnect a sink again. More... | |
| virtual void | setConfig (const Config &config) |
| Stores the configuration and propergates it if the configuration has been changed. More... | |
| virtual double | sampleRate () const |
Returns the configured sample rate or 0 otherwise. More... | |
| virtual Config::Type | type () const |
Returns the configured source type or Config::Type_UNDEFINED otherwise. More... | |
| template<class T > | |
| void | addEOS (T *instance, void(T::*function)()) |
| Adds a callback to the end-of-stream signal of the source. More... | |
+Protected Member Functions | |
| double | _getSymbol () |
| Performs the convolution filtering of the mark & space frequencies. More... | |
Protected Member Functions inherited from sdr::Source | |
| void | signalEOS () |
| Signals the EOS. More... | |
| void | propagateConfig (const Config &config) |
| Propagates the given configuration to all connected sinks. More... | |
+Protected Attributes | |
| float | _sampleRate |
| The sample rate of the input signal. More... | |
| float | _symbolRate |
| A multiple of the baud rate. More... | |
| float | _baud |
| The baud rate. More... | |
| float | _Fmark |
| Mark "tone" frequency. More... | |
| float | _Fspace |
| Space "tone" frequency. More... | |
| Mode | _mode |
| Bit encoding mode. More... | |
| uint32_t | _corrLen |
| Correlation length, the number of "symbols" per bit. More... | |
| uint32_t | _lutIdx |
| The current FIR filter LUT index. More... | |
| Buffer< std::complex< float > > | _markLUT |
| Mark frequency FIR filter LUT. More... | |
| Buffer< std::complex< float > > | _spaceLUT |
| Space frequency FIR filter LUT. More... | |
| Buffer< std::complex< float > > | _markHist |
| FIR filter buffer. More... | |
| Buffer< std::complex< float > > | _spaceHist |
| FIR filter buffer. More... | |
| float | _mu |
| Symbol subsampling counter. More... | |
| float | _muIncr |
| Symbol subsampling. More... | |
| Buffer< float > | _dl |
| Delay line for the 8-pole interpolation filter. More... | |
| size_t | _dl_idx |
| Delay line index. More... | |
| Buffer< int16_t > | _symbols |
Ring buffer of the last _corrLen symbols. More... | |
| size_t | _symbolIdx |
| Insertion index. More... | |
| int32_t | _symSum |
Sum of the current _corrLen symbols. More... | |
| int32_t | _lastSymSum |
Sum of the last _corrLen symbols. More... | |
| uint32_t | _lastBits |
| Last received bits. More... | |
| float | _phase |
| Current PLL phase. More... | |
| float | _omega |
| PLL phase speed. More... | |
| float | _omegaMin |
| Maximum PLL phase speed. More... | |
| float | _omegaMax |
| Minimum PLL phase speed. More... | |
| float | _gainOmega |
| PLL gain. More... | |
| Buffer< uint8_t > | _buffer |
| Output buffer. More... | |
Protected Attributes inherited from sdr::Source | |
| Config | _config |
Holds the source configuration, this can be updated by calling setConfig. More... | |
| std::map< SinkBase *, bool > | _sinks |
| The connected sinks. More... | |
| std::list< DelegateInterface * > | _eos |
| The connected EOS singal handlers. More... | |
A simple (Audio) Frequency Shift Keying (AFSK) demodulator.
+This node consists of two convolution peak-filters at the mark and space frequencies, a interpolating sub-sampler to match the baud-rate exactly and a PLL to lock to the symbol transitions. The node will decode the (A)FSK signal and will send a bit-stream (uint8_t).
+| enum sdr::AFSK::Mode | +
| AFSK::AFSK | +( | +double | +baud = 1200.0, |
+
| + | + | double | +Fmark = 1200.0, |
+
| + | + | double | +Fspace = 2200.0, |
+
| + | + | Mode | +mode = TRANSITION |
+
| + | ) | ++ |
Constructs a AFSK node with the specified baud rate and Fmark, Fspace frequencies.
The default valuse corresponds to those used for 1200 baud packet radio.
+ +
+
|
+ +virtual | +
Destructor.
+ +
+
|
+ +inlineprotected | +
Performs the convolution filtering of the mark & space frequencies.
+ +
+
|
+ +virtual | +
Configures the node.
+ +Implements sdr::SinkBase.
+ +
+
|
+ +virtual | +
Processes the given buffer.
+std::cerr << "Transition at phi=" << _phase << std::endl << " update omega from " << _omega << " to ";
+ +Implements sdr::Sink< int16_t >.
+ +
+
|
+ +protected | +
The baud rate.
+ +
+
|
+ +protected | +
Output buffer.
+ +
+
|
+ +protected | +
Correlation length, the number of "symbols" per bit.
+ +
+
|
+ +protected | +
Delay line for the 8-pole interpolation filter.
+ +
+
|
+ +protected | +
Delay line index.
+ +
+
|
+ +protected | +
Mark "tone" frequency.
+ +
+
|
+ +protected | +
Space "tone" frequency.
+ +
+
|
+ +protected | +
PLL gain.
+ +
+
|
+ +protected | +
Last received bits.
+ +
+
|
+ +protected | +
Sum of the last _corrLen symbols.
+
|
+ +protected | +
The current FIR filter LUT index.
+ +
+
|
+ +protected | +
FIR filter buffer.
+ +
+
|
+ +protected | +
Mark frequency FIR filter LUT.
+ +
+
|
+ +protected | +
Bit encoding mode.
+ +
+
|
+ +protected | +
Symbol subsampling counter.
+ +
+
|
+ +protected | +
Symbol subsampling.
+ +
+
|
+ +protected | +
PLL phase speed.
+ +
+
|
+ +protected | +
Minimum PLL phase speed.
+ +
+
|
+ +protected | +
Maximum PLL phase speed.
+ +
+
|
+ +protected | +
Current PLL phase.
+ +
+
|
+ +protected | +
The sample rate of the input signal.
+ +
+
|
+ +protected | +
FIR filter buffer.
+ +
+
|
+ +protected | +
Space frequency FIR filter LUT.
+ +
+
|
+ +protected | +
Insertion index.
+ +
+
|
+ +protected | +
A multiple of the baud rate.
+ +
+
|
+ +protected | +
Ring buffer of the last _corrLen symbols.
+
|
+ +protected | +
Sum of the current _corrLen symbols.
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_a_f_s_k.png b/classsdr_1_1_a_f_s_k.png
new file mode 100644
index 0000000..8a7cbfc
Binary files /dev/null and b/classsdr_1_1_a_f_s_k.png differ
diff --git a/classsdr_1_1_a_x25-members.html b/classsdr_1_1_a_x25-members.html
new file mode 100644
index 0000000..ffe5a21
--- /dev/null
+++ b/classsdr_1_1_a_x25-members.html
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
This is the complete list of members for sdr::AX25, including all inherited members.
+| _bitbuffer | sdr::AX25 | protected |
| _bitstream | sdr::AX25 | protected |
| _buffer | sdr::AX25 | protected |
| _config | sdr::Source | protected |
| _eos | sdr::Source | protected |
| _ptr | sdr::AX25 | protected |
| _rxbuffer | sdr::AX25 | protected |
| _sinks | sdr::Source | protected |
| _state | sdr::AX25 | protected |
| addEOS(T *instance, void(T::*function)()) | sdr::Source | inline |
| AX25() | sdr::AX25 | |
| config(const Config &src_cfg) | sdr::AX25 | virtual |
| connect(SinkBase *sink, bool direct=false) | sdr::Source | |
| disconnect(SinkBase *sink) | sdr::Source | |
| handleBuffer(const RawBuffer &buffer, bool allow_overwrite) | sdr::Sink< uint8_t > | inlinevirtual |
| process(const Buffer< uint8_t > &buffer, bool allow_overwrite) | sdr::AX25 | virtual |
| propagateConfig(const Config &config) | sdr::Source | protected |
| sampleRate() const | sdr::Source | virtual |
| send(const RawBuffer &buffer, bool allow_overwrite=false) | sdr::Source | virtual |
| setConfig(const Config &config) | sdr::Source | virtual |
| signalEOS() | sdr::Source | protected |
| Sink() | sdr::Sink< uint8_t > | inline |
| SinkBase() | sdr::SinkBase | |
| Source() | sdr::Source | |
| type() const | sdr::Source | virtual |
| unpackCall(const uint8_t *buffer, std::string &call, int &ssid, bool &addrExt) | sdr::AX25 | static |
| ~AX25() | sdr::AX25 | virtual |
| ~Sink() | sdr::Sink< uint8_t > | inlinevirtual |
| ~SinkBase() | sdr::SinkBase | virtual |
| ~Source() | sdr::Source | virtual |
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_a_x25.html b/classsdr_1_1_a_x25.html
new file mode 100644
index 0000000..64bfdc2
--- /dev/null
+++ b/classsdr_1_1_a_x25.html
@@ -0,0 +1,535 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
Decodes AX25 (PacketRadio) messages from a bit stream. + More...
+ +#include <ax25.hh>
+
+ +Public Member Functions | |
| AX25 () | |
| Constructor. More... | |
| virtual | ~AX25 () |
| Destructor. More... | |
| virtual void | config (const Config &src_cfg) |
| Configures the node. More... | |
| virtual void | process (const Buffer< uint8_t > &buffer, bool allow_overwrite) |
| Processes the bit stream. More... | |
Public Member Functions inherited from sdr::Sink< uint8_t > | |
| Sink () | |
| Constructor. More... | |
| virtual | ~Sink () |
| Drestructor. More... | |
| virtual void | handleBuffer (const RawBuffer &buffer, bool allow_overwrite) |
Re-implemented from SinkBase. More... | |
Public Member Functions inherited from sdr::SinkBase | |
| SinkBase () | |
| Constructor. More... | |
| virtual | ~SinkBase () |
| Destructor. More... | |
Public Member Functions inherited from sdr::Source | |
| Source () | |
| Constructor. More... | |
| virtual | ~Source () |
| Destructor. More... | |
| virtual void | send (const RawBuffer &buffer, bool allow_overwrite=false) |
| Sends the given buffer to all connected sinks. More... | |
| void | connect (SinkBase *sink, bool direct=false) |
| Connect this source to a sink. More... | |
| void | disconnect (SinkBase *sink) |
| Disconnect a sink again. More... | |
| virtual void | setConfig (const Config &config) |
| Stores the configuration and propergates it if the configuration has been changed. More... | |
| virtual double | sampleRate () const |
Returns the configured sample rate or 0 otherwise. More... | |
| virtual Config::Type | type () const |
Returns the configured source type or Config::Type_UNDEFINED otherwise. More... | |
| template<class T > | |
| void | addEOS (T *instance, void(T::*function)()) |
| Adds a callback to the end-of-stream signal of the source. More... | |
+Static Public Member Functions | |
| static void | unpackCall (const uint8_t *buffer, std::string &call, int &ssid, bool &addrExt) |
| Unpacks a AX.25 encoded call (address). More... | |
+Protected Attributes | |
| uint32_t | _bitstream |
| The last bits. More... | |
| uint32_t | _bitbuffer |
| A buffer of received bits. More... | |
| uint32_t | _state |
| The current state. More... | |
| uint8_t | _rxbuffer [512] |
| Message buffer. More... | |
| uint8_t * | _ptr |
| Insert-pointer to the buffer. More... | |
| Buffer< uint8_t > | _buffer |
| Output buffer. More... | |
Protected Attributes inherited from sdr::Source | |
| Config | _config |
Holds the source configuration, this can be updated by calling setConfig. More... | |
| std::map< SinkBase *, bool > | _sinks |
| The connected sinks. More... | |
| std::list< DelegateInterface * > | _eos |
| The connected EOS singal handlers. More... | |
+Additional Inherited Members | |
Protected Member Functions inherited from sdr::Source | |
| void | signalEOS () |
| Signals the EOS. More... | |
| void | propagateConfig (const Config &config) |
| Propagates the given configuration to all connected sinks. More... | |
Decodes AX25 (PacketRadio) messages from a bit stream.
+In conjecture with the (A)FSK demodulator, the AX25 can be used to receive packet radio or APRS messages. AX25 is usually transmitted as FSK in transition mode, means the bits aren't encoded by mark & space tones but rather as a transition from mark to space or in reverse. Hence the FSK node needs to be configured in transition mode.
+The node does not process the actual AX.25 packages, it only checks the frame check sequence and forwards the AX.25 datagram to all connected sinks on success. The receiving node is responsible for unpacking and handling the received datagram.
+| AX25::AX25 | +( | +) | ++ |
Constructor.
+ +
+
|
+ +virtual | +
Destructor.
+ +
+
|
+ +virtual | +
Configures the node.
+ +Implements sdr::SinkBase.
+ +
+
|
+ +virtual | +
+
|
+ +static | +
Unpacks a AX.25 encoded call (address).
+ +
+
|
+ +protected | +
A buffer of received bits.
+ +
+
|
+ +protected | +
The last bits.
+ +
+
|
+ +protected | +
Output buffer.
+ +
+
|
+ +protected | +
Insert-pointer to the buffer.
+ +
+
|
+ +protected | +
Message buffer.
+ +
+
|
+ +protected | +
The current state.
+ +
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_a_x25.png b/classsdr_1_1_a_x25.png
new file mode 100644
index 0000000..0b451da
Binary files /dev/null and b/classsdr_1_1_a_x25.png differ
diff --git a/classsdr_1_1_baudot-members.html b/classsdr_1_1_baudot-members.html
new file mode 100644
index 0000000..e0c0eac
--- /dev/null
+++ b/classsdr_1_1_baudot-members.html
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
This is the complete list of members for sdr::Baudot, including all inherited members.
+| _bitcount | sdr::Baudot | protected |
| _bitsPerSymbol | sdr::Baudot | protected |
| _bitstream | sdr::Baudot | protected |
| _buffer | sdr::Baudot | protected |
| _config | sdr::Source | protected |
| _eos | sdr::Source | protected |
| _figure | sdr::Baudot | protectedstatic |
| _letter | sdr::Baudot | protectedstatic |
| _mask | sdr::Baudot | protected |
| _mode | sdr::Baudot | protected |
| _pattern | sdr::Baudot | protected |
| _sinks | sdr::Source | protected |
| _stopHBits | sdr::Baudot | protected |
| addEOS(T *instance, void(T::*function)()) | sdr::Source | inline |
| Baudot(StopBits stopBits=STOP15) | sdr::Baudot | |
| config(const Config &src_cfg) | sdr::Baudot | virtual |
| connect(SinkBase *sink, bool direct=false) | sdr::Source | |
| disconnect(SinkBase *sink) | sdr::Source | |
| FIGURES enum value | sdr::Baudot | |
| handleBuffer(const RawBuffer &buffer, bool allow_overwrite) | sdr::Sink< uint8_t > | inlinevirtual |
| LETTERS enum value | sdr::Baudot | |
| Mode enum name | sdr::Baudot | |
| process(const Buffer< uint8_t > &buffer, bool allow_overwrite) | sdr::Baudot | virtual |
| propagateConfig(const Config &config) | sdr::Source | protected |
| sampleRate() const | sdr::Source | virtual |
| send(const RawBuffer &buffer, bool allow_overwrite=false) | sdr::Source | virtual |
| setConfig(const Config &config) | sdr::Source | virtual |
| signalEOS() | sdr::Source | protected |
| Sink() | sdr::Sink< uint8_t > | inline |
| SinkBase() | sdr::SinkBase | |
| Source() | sdr::Source | |
| STOP1 enum value | sdr::Baudot | |
| STOP15 enum value | sdr::Baudot | |
| STOP2 enum value | sdr::Baudot | |
| StopBits enum name | sdr::Baudot | |
| type() const | sdr::Source | virtual |
| ~Sink() | sdr::Sink< uint8_t > | inlinevirtual |
| ~SinkBase() | sdr::SinkBase | virtual |
| ~Source() | sdr::Source | virtual |
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_baudot.html b/classsdr_1_1_baudot.html
new file mode 100644
index 0000000..0912647
--- /dev/null
+++ b/classsdr_1_1_baudot.html
@@ -0,0 +1,579 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
Implements a Baudot decoder. + More...
+ +#include <baudot.hh>
+
+ +Public Types | |
| enum | Mode { LETTERS, +FIGURES + } |
| Specifies the current code-tables. More... | |
| enum | StopBits { STOP1, +STOP15, +STOP2 + } |
| Specifies the number of stop bits. More... | |
+Public Member Functions | |
| Baudot (StopBits stopBits=STOP15) | |
| Constructor. More... | |
| virtual void | config (const Config &src_cfg) |
| Configures the node. More... | |
| virtual void | process (const Buffer< uint8_t > &buffer, bool allow_overwrite) |
| Processes the bit-stream. More... | |
Public Member Functions inherited from sdr::Sink< uint8_t > | |
| Sink () | |
| Constructor. More... | |
| virtual | ~Sink () |
| Drestructor. More... | |
| virtual void | handleBuffer (const RawBuffer &buffer, bool allow_overwrite) |
Re-implemented from SinkBase. More... | |
Public Member Functions inherited from sdr::SinkBase | |
| SinkBase () | |
| Constructor. More... | |
| virtual | ~SinkBase () |
| Destructor. More... | |
Public Member Functions inherited from sdr::Source | |
| Source () | |
| Constructor. More... | |
| virtual | ~Source () |
| Destructor. More... | |
| virtual void | send (const RawBuffer &buffer, bool allow_overwrite=false) |
| Sends the given buffer to all connected sinks. More... | |
| void | connect (SinkBase *sink, bool direct=false) |
| Connect this source to a sink. More... | |
| void | disconnect (SinkBase *sink) |
| Disconnect a sink again. More... | |
| virtual void | setConfig (const Config &config) |
| Stores the configuration and propergates it if the configuration has been changed. More... | |
| virtual double | sampleRate () const |
Returns the configured sample rate or 0 otherwise. More... | |
| virtual Config::Type | type () const |
Returns the configured source type or Config::Type_UNDEFINED otherwise. More... | |
| template<class T > | |
| void | addEOS (T *instance, void(T::*function)()) |
| Adds a callback to the end-of-stream signal of the source. More... | |
+Protected Attributes | |
| uint16_t | _bitstream |
| The last bits received. More... | |
| size_t | _bitcount |
| The number of bits received. More... | |
| Mode | _mode |
| The currently selected table. More... | |
| size_t | _bitsPerSymbol |
| Specifies the number of half bits per symbol. More... | |
| uint16_t | _pattern |
| Specifies the frame pattern. More... | |
| uint16_t | _mask |
| Specifies the frame mask. More... | |
| uint16_t | _stopHBits |
| Number of half bits forming the stop bit. More... | |
| Buffer< uint8_t > | _buffer |
| The output buffer. More... | |
Protected Attributes inherited from sdr::Source | |
| Config | _config |
Holds the source configuration, this can be updated by calling setConfig. More... | |
| std::map< SinkBase *, bool > | _sinks |
| The connected sinks. More... | |
| std::list< DelegateInterface * > | _eos |
| The connected EOS singal handlers. More... | |
+Static Protected Attributes | |
| static char | _letter [32] |
| Code table for letters. More... | |
| static char | _figure [32] |
| Code table for symbols or figure (i.e. More... | |
+Additional Inherited Members | |
Protected Member Functions inherited from sdr::Source | |
| void | signalEOS () |
| Signals the EOS. More... | |
| void | propagateConfig (const Config &config) |
| Propagates the given configuration to all connected sinks. More... | |
Implements a Baudot decoder.
+Inconjecture with the (A)FSK demodulator, it enables the reception of radio teletype (RTTY) messages.
+Please note that a baudot encoded char is usually transmitted in a frame with one start bit and 1, 1.5 or 2 stop bits. Hence this node expects to receive two bits for one decoded bit in order to detect the 1.5 stop bits reliably.
+I.e. to receive a 45.45 baud RTTY signal, the (A)FSK demodulator need to be configured for 90.90 baud (= 2*45.45 baud).
+
+
|
+ +virtual | +
Configures the node.
+ +Implements sdr::SinkBase.
+ +
+
|
+ +virtual | +
Processes the bit-stream.
+ +Implements sdr::Sink< uint8_t >.
+ +
+
|
+ +protected | +
The number of bits received.
+ +
+
|
+ +protected | +
Specifies the number of half bits per symbol.
+ +
+
|
+ +protected | +
The last bits received.
+ +
+
|
+ +protected | +
The output buffer.
+ +
+
|
+ +staticprotected | +
Code table for symbols or figure (i.e.
+numbers).
+ +
+
|
+ +staticprotected | +
Code table for letters.
+ +
+
|
+ +protected | +
Specifies the frame mask.
+ +
+
|
+ +protected | +
The currently selected table.
+ +
+
|
+ +protected | +
Specifies the frame pattern.
+ +
+
|
+ +protected | +
Number of half bits forming the stop bit.
+ +
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_baudot.png b/classsdr_1_1_baudot.png
new file mode 100644
index 0000000..70d86e9
Binary files /dev/null and b/classsdr_1_1_baudot.png differ
diff --git a/classsdr_1_1_text_dump-members.html b/classsdr_1_1_text_dump-members.html
new file mode 100644
index 0000000..c91692a
--- /dev/null
+++ b/classsdr_1_1_text_dump-members.html
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
This is the complete list of members for sdr::TextDump, including all inherited members.
+| _stream | sdr::TextDump | protected |
| config(const Config &src_cfg) | sdr::TextDump | virtual |
| handleBuffer(const RawBuffer &buffer, bool allow_overwrite) | sdr::Sink< uint8_t > | inlinevirtual |
| process(const Buffer< uint8_t > &buffer, bool allow_overwrite) | sdr::TextDump | virtual |
| Sink() | sdr::Sink< uint8_t > | inline |
| SinkBase() | sdr::SinkBase | |
| TextDump(std::ostream &stream=std::cerr) | sdr::TextDump | |
| ~Sink() | sdr::Sink< uint8_t > | inlinevirtual |
| ~SinkBase() | sdr::SinkBase | virtual |
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_text_dump.html b/classsdr_1_1_text_dump.html
new file mode 100644
index 0000000..f2adb5c
--- /dev/null
+++ b/classsdr_1_1_text_dump.html
@@ -0,0 +1,276 @@
+
+
+
+
+
+
+|
+ libsdr
+ 0.1.0
+
+ A simple SDR library
+ |
+
Dumps the received uin8_t byte-stream as (ASCII) text. + More...
+ +#include <utils.hh>
+
+ +Public Member Functions | |
| TextDump (std::ostream &stream=std::cerr) | |
| Constructor. More... | |
| virtual void | config (const Config &src_cfg) |
| Configures the sink. More... | |
| virtual void | process (const Buffer< uint8_t > &buffer, bool allow_overwrite) |
| Processes the input stream. More... | |
Public Member Functions inherited from sdr::Sink< uint8_t > | |
| Sink () | |
| Constructor. More... | |
| virtual | ~Sink () |
| Drestructor. More... | |
| virtual void | handleBuffer (const RawBuffer &buffer, bool allow_overwrite) |
Re-implemented from SinkBase. More... | |
Public Member Functions inherited from sdr::SinkBase | |
| SinkBase () | |
| Constructor. More... | |
| virtual | ~SinkBase () |
| Destructor. More... | |
+Protected Attributes | |
| std::ostream & | _stream |
| The output stream. More... | |
Dumps the received uin8_t byte-stream as (ASCII) text.
+| TextDump::TextDump | +( | +std::ostream & | +stream = std::cerr | ) | ++ |
Constructor.
+stream specifies the ouput stream.
+
|
+ +virtual | +
Configures the sink.
+ +Implements sdr::SinkBase.
+ +
+
|
+ +virtual | +
Processes the input stream.
+ +Implements sdr::Sink< uint8_t >.
+ +
+
|
+ +protected | +
The output stream.
+ +
+ 1.8.9.1
+
+
+
diff --git a/classsdr_1_1_text_dump.png b/classsdr_1_1_text_dump.png
new file mode 100644
index 0000000..456ff43
Binary files /dev/null and b/classsdr_1_1_text_dump.png differ
diff --git a/doc.png b/doc.png
new file mode 100644
index 0000000..17edabf
Binary files /dev/null and b/doc.png differ
diff --git a/folderclosed.png b/folderclosed.png
new file mode 100644
index 0000000..bb8ab35
Binary files /dev/null and b/folderclosed.png differ
diff --git a/folderopen.png b/folderopen.png
new file mode 100644
index 0000000..d6c7f67
Binary files /dev/null and b/folderopen.png differ
diff --git a/search/enums_3.html b/search/enums_3.html
new file mode 100644
index 0000000..e2cdb29
--- /dev/null
+++ b/search/enums_3.html
@@ -0,0 +1,26 @@
+
+