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: /Users/hannes/Uni/Elektronik/sdr/libsdr/src/afsk.hh Source File + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
afsk.hh
+
+
+
1 #ifndef __SDR_AFSK_HH__
+
2 #define __SDR_AFSK_HH__
+
3 
+
4 #include "node.hh"
+
5 
+
6 namespace sdr {
+
7 
+
13 class AFSK: public Sink<int16_t>, public Source
+
14 {
+
15 public:
+
17  typedef enum {
+ + +
20  } Mode;
+
21 
+
22 public:
+
25  AFSK(double baud=1200.0, double Fmark=1200.0, double Fspace=2200.0,
+
26  Mode mode=TRANSITION);
+
28  virtual ~AFSK();
+
29 
+
31  virtual void config(const Config &src_cfg);
+
33  virtual void process(const Buffer<int16_t> &buffer, bool allow_overwrite);
+
34 
+
35 protected:
+
37  inline double _getSymbol() {
+
38  std::complex<float> markSum(0), spaceSum(0);
+
39  for (size_t i=0; i<_corrLen; i++) {
+
40  markSum += _markHist[i];
+
41  spaceSum += _spaceHist[i];
+
42  }
+
43  double f = markSum.real()*markSum.real() +
+
44  markSum.imag()*markSum.imag() -
+
45  spaceSum.real()*spaceSum.real() -
+
46  spaceSum.imag()*spaceSum.imag();
+
47  return f;
+
48  }
+
49 
+
50 
+
51 protected:
+
53  float _sampleRate;
+
55  float _symbolRate;
+
57  float _baud;
+
59  float _Fmark;
+
61  float _Fspace;
+ +
65  uint32_t _corrLen;
+
67  uint32_t _lutIdx;
+ + +
72 
+ + +
77 
+
79  float _mu;
+
81  float _muIncr;
+ +
85  size_t _dl_idx;
+
86 
+ +
90  size_t _symbolIdx;
+
92  int32_t _symSum;
+
94  int32_t _lastSymSum;
+
95 
+
97  uint32_t _lastBits;
+
99  float _phase;
+
101  float _omega;
+
103  float _omegaMin;
+
105  float _omegaMax;
+
107  float _gainOmega;
+
108 
+ +
111 };
+
112 
+
113 
+
114 }
+
115 #endif // __SDR_AFSK_HH__
+
Normal mode (i.e. mark -> 1, space -> 0).
Definition: afsk.hh:18
+
A collection of configuration information that is send by a source to all connected sinks to properga...
Definition: node.hh:35
+
Buffer< std::complex< float > > _markLUT
Mark frequency FIR filter LUT.
Definition: afsk.hh:69
+
virtual ~AFSK()
Destructor.
Definition: afsk.cc:15
+
Transition mode (i.e. transition -> 0, no transition -> 1).
Definition: afsk.hh:19
+
size_t _symbolIdx
Insertion index.
Definition: afsk.hh:90
+
Typed sink.
Definition: node.hh:192
+
Definition: afsk.hh:6
+
uint32_t _lutIdx
The current FIR filter LUT index.
Definition: afsk.hh:67
+
float _omegaMin
Maximum PLL phase speed.
Definition: afsk.hh:103
+
float _omega
PLL phase speed.
Definition: afsk.hh:101
+
Generic source class.
Definition: node.hh:213
+
int32_t _lastSymSum
Sum of the last _corrLen symbols.
Definition: afsk.hh:94
+
Buffer< std::complex< float > > _spaceLUT
Space frequency FIR filter LUT.
Definition: afsk.hh:71
+
float _mu
Symbol subsampling counter.
Definition: afsk.hh:79
+
Buffer< float > _dl
Delay line for the 8-pole interpolation filter.
Definition: afsk.hh:83
+
float _Fmark
Mark "tone" frequency.
Definition: afsk.hh:59
+
float _symbolRate
A multiple of the baud rate.
Definition: afsk.hh:55
+
float _phase
Current PLL phase.
Definition: afsk.hh:99
+
A simple (Audio) Frequency Shift Keying (AFSK) demodulator.
Definition: afsk.hh:13
+
Buffer< uint8_t > _buffer
Output buffer.
Definition: afsk.hh:110
+
float _Fspace
Space "tone" frequency.
Definition: afsk.hh:61
+
float _sampleRate
The sample rate of the input signal.
Definition: afsk.hh:53
+
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.
Definition: afsk.cc:9
+
Buffer< int16_t > _symbols
Ring buffer of the last _corrLen symbols.
Definition: afsk.hh:88
+
Buffer< std::complex< float > > _markHist
FIR filter buffer.
Definition: afsk.hh:74
+
uint32_t _corrLen
Correlation length, the number of "symbols" per bit.
Definition: afsk.hh:65
+
Mode
Possible bit decoding modes.
Definition: afsk.hh:17
+
size_t _dl_idx
Delay line index.
Definition: afsk.hh:85
+
float _baud
The baud rate.
Definition: afsk.hh:57
+
uint32_t _lastBits
Last received bits.
Definition: afsk.hh:97
+
Mode _mode
Bit encoding mode.
Definition: afsk.hh:63
+
Buffer< std::complex< float > > _spaceHist
FIR filter buffer.
Definition: afsk.hh:76
+
double _getSymbol()
Performs the convolution filtering of the mark & space frequencies.
Definition: afsk.hh:37
+
virtual void process(const Buffer< int16_t > &buffer, bool allow_overwrite)
Processes the given buffer.
Definition: afsk.cc:104
+
float _gainOmega
PLL gain.
Definition: afsk.hh:107
+
int32_t _symSum
Sum of the current _corrLen symbols.
Definition: afsk.hh:92
+ +
float _omegaMax
Minimum PLL phase speed.
Definition: afsk.hh:105
+
virtual void config(const Config &src_cfg)
Configures the node.
Definition: afsk.cc:20
+
float _muIncr
Symbol subsampling.
Definition: afsk.hh:81
+
+ + + + 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: /Users/hannes/Uni/Elektronik/sdr/libsdr/src/ax25.hh Source File + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ax25.hh
+
+
+
1 #ifndef __SDR_AX25_HH__
+
2 #define __SDR_AX25_HH__
+
3 
+
4 #include "node.hh"
+
5 
+
6 
+
7 namespace sdr {
+
8 
+
21 class AX25: public Sink<uint8_t>, public Source
+
22 {
+
23 public:
+
25  AX25();
+
27  virtual ~AX25();
+
29  virtual void config(const Config &src_cfg);
+
31  virtual void process(const Buffer<uint8_t> &buffer, bool allow_overwrite);
+
32 
+
34  static void unpackCall(const uint8_t *buffer, std::string &call, int &ssid, bool &addrExt);
+
35 
+
36 protected:
+
38  uint32_t _bitstream;
+
40  uint32_t _bitbuffer;
+
42  uint32_t _state;
+
43 
+
45  uint8_t _rxbuffer[512];
+
47  uint8_t *_ptr;
+
48 
+ +
51 };
+
52 
+
53 }
+
54 
+
55 
+
56 #endif // __SDR_AX25_HH__
+
virtual ~AX25()
Destructor.
Definition: ax25.cc:60
+
uint32_t _state
The current state.
Definition: ax25.hh:42
+
A collection of configuration information that is send by a source to all connected sinks to properga...
Definition: node.hh:35
+
uint8_t * _ptr
Insert-pointer to the buffer.
Definition: ax25.hh:47
+
uint32_t _bitstream
The last bits.
Definition: ax25.hh:38
+
uint8_t _rxbuffer[512]
Message buffer.
Definition: ax25.hh:45
+
Typed sink.
Definition: node.hh:192
+
Definition: afsk.hh:6
+
Generic source class.
Definition: node.hh:213
+
AX25()
Constructor.
Definition: ax25.cc:54
+
virtual void process(const Buffer< uint8_t > &buffer, bool allow_overwrite)
Processes the bit stream.
Definition: ax25.cc:92
+
Decodes AX25 (PacketRadio) messages from a bit stream.
Definition: ax25.hh:21
+
uint32_t _bitbuffer
A buffer of received bits.
Definition: ax25.hh:40
+
static void unpackCall(const uint8_t *buffer, std::string &call, int &ssid, bool &addrExt)
Unpacks a AX.25 encoded call (address).
Definition: ax25.cc:163
+
virtual void config(const Config &src_cfg)
Configures the node.
Definition: ax25.cc:65
+
Buffer< uint8_t > _buffer
Output buffer.
Definition: ax25.hh:50
+ +
+ + + + 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: /Users/hannes/Uni/Elektronik/sdr/libsdr/src/baudot.hh Source File + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
baudot.hh
+
+
+
1 #ifndef __SDR_BAUDOT_HH__
+
2 #define __SDR_BAUDOT_HH__
+
3 
+
4 #include "node.hh"
+
5 #include <map>
+
6 
+
7 namespace sdr {
+
8 
+
19 class Baudot: public Sink<uint8_t>, public Source
+
20 {
+
21 public:
+
23  typedef enum {
+ + +
26  } Mode;
+
27 
+
29  typedef enum {
+ + + +
33  } StopBits;
+
34 
+
35 public:
+
37  Baudot(StopBits stopBits = STOP15);
+
38 
+
40  virtual void config(const Config &src_cfg);
+
42  virtual void process(const Buffer<uint8_t> &buffer, bool allow_overwrite);
+
43 
+
44 protected:
+
46  static char _letter[32];
+
48  static char _figure[32];
+
50  uint16_t _bitstream;
+
52  size_t _bitcount;
+
53 
+ +
56 
+ +
60  uint16_t _pattern;
+
62  uint16_t _mask;
+
64  uint16_t _stopHBits;
+
65 
+ +
68 };
+
69 
+
70 }
+
71 
+
72 #endif // BAUDOT_HH
+
A collection of configuration information that is send by a source to all connected sinks to properga...
Definition: node.hh:35
+
size_t _bitcount
The number of bits received.
Definition: baudot.hh:52
+
uint16_t _mask
Specifies the frame mask.
Definition: baudot.hh:62
+
static char _figure[32]
Code table for symbols or figure (i.e.
Definition: baudot.hh:48
+
uint16_t _pattern
Specifies the frame pattern.
Definition: baudot.hh:60
+
Mode _mode
The currently selected table.
Definition: baudot.hh:55
+
Typed sink.
Definition: node.hh:192
+
2 stop bits.
Definition: baudot.hh:32
+
Definition: afsk.hh:6
+
Implements a Baudot decoder.
Definition: baudot.hh:19
+
static char _letter[32]
Code table for letters.
Definition: baudot.hh:46
+
uint16_t _bitstream
The last bits received.
Definition: baudot.hh:50
+
Generic source class.
Definition: node.hh:213
+
Numbers, symbols etc.
Definition: baudot.hh:25
+
virtual void process(const Buffer< uint8_t > &buffer, bool allow_overwrite)
Processes the bit-stream.
Definition: baudot.cc:86
+
uint16_t _stopHBits
Number of half bits forming the stop bit.
Definition: baudot.hh:64
+
Letters.
Definition: baudot.hh:24
+
StopBits
Specifies the number of stop bits.
Definition: baudot.hh:29
+
virtual void config(const Config &src_cfg)
Configures the node.
Definition: baudot.cc:55
+
Baudot(StopBits stopBits=STOP15)
Constructor.
Definition: baudot.cc:23
+
Buffer< uint8_t > _buffer
The output buffer.
Definition: baudot.hh:67
+
1 stop bit.
Definition: baudot.hh:30
+
1.5 stop bits.
Definition: baudot.hh:31
+
size_t _bitsPerSymbol
Specifies the number of half bits per symbol.
Definition: baudot.hh:58
+
Mode
Specifies the current code-tables.
Definition: baudot.hh:23
+ +
+ + + + 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: Member List + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
sdr::AFSK Member List
+
+
+ +

This is the complete list of members for sdr::AFSK, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_baudsdr::AFSKprotected
_buffersdr::AFSKprotected
_configsdr::Sourceprotected
_corrLensdr::AFSKprotected
_dlsdr::AFSKprotected
_dl_idxsdr::AFSKprotected
_eossdr::Sourceprotected
_Fmarksdr::AFSKprotected
_Fspacesdr::AFSKprotected
_gainOmegasdr::AFSKprotected
_getSymbol()sdr::AFSKinlineprotected
_lastBitssdr::AFSKprotected
_lastSymSumsdr::AFSKprotected
_lutIdxsdr::AFSKprotected
_markHistsdr::AFSKprotected
_markLUTsdr::AFSKprotected
_modesdr::AFSKprotected
_musdr::AFSKprotected
_muIncrsdr::AFSKprotected
_omegasdr::AFSKprotected
_omegaMaxsdr::AFSKprotected
_omegaMinsdr::AFSKprotected
_phasesdr::AFSKprotected
_sampleRatesdr::AFSKprotected
_sinkssdr::Sourceprotected
_spaceHistsdr::AFSKprotected
_spaceLUTsdr::AFSKprotected
_symbolIdxsdr::AFSKprotected
_symbolRatesdr::AFSKprotected
_symbolssdr::AFSKprotected
_symSumsdr::AFSKprotected
addEOS(T *instance, void(T::*function)())sdr::Sourceinline
AFSK(double baud=1200.0, double Fmark=1200.0, double Fspace=2200.0, Mode mode=TRANSITION)sdr::AFSK
config(const Config &src_cfg)sdr::AFSKvirtual
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 namesdr::AFSK
NORMAL enum valuesdr::AFSK
process(const Buffer< int16_t > &buffer, bool allow_overwrite)sdr::AFSKvirtual
propagateConfig(const Config &config)sdr::Sourceprotected
sampleRate() const sdr::Sourcevirtual
send(const RawBuffer &buffer, bool allow_overwrite=false)sdr::Sourcevirtual
setConfig(const Config &config)sdr::Sourcevirtual
signalEOS()sdr::Sourceprotected
Sink()sdr::Sink< int16_t >inline
SinkBase()sdr::SinkBase
Source()sdr::Source
TRANSITION enum valuesdr::AFSK
type() const sdr::Sourcevirtual
~AFSK()sdr::AFSKvirtual
~Sink()sdr::Sink< int16_t >inlinevirtual
~SinkBase()sdr::SinkBasevirtual
~Source()sdr::Sourcevirtual
+ + + + 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: sdr::AFSK Class Reference + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Types | +Public Member Functions | +Protected Member Functions | +Protected Attributes | +List of all members
+
+
sdr::AFSK Class Reference
+
+
+ +

A simple (Audio) Frequency Shift Keying (AFSK) demodulator. + More...

+ +

#include <afsk.hh>

+
+Inheritance diagram for sdr::AFSK:
+
+
+ + +sdr::Sink< int16_t > +sdr::Source +sdr::SinkBase + +
+ + + + + +

+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...
 
+

Detailed Description

+

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).

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum sdr::AFSK::Mode
+
+ +

Possible bit decoding modes.

+ + + +
Enumerator
NORMAL  +

Normal mode (i.e. mark -> 1, space -> 0).

+
TRANSITION  +

Transition mode (i.e. transition -> 0, no transition -> 1).

+
+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
AFSK::~AFSK ()
+
+virtual
+
+ +

Destructor.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
double sdr::AFSK::_getSymbol ()
+
+inlineprotected
+
+ +

Performs the convolution filtering of the mark & space frequencies.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void AFSK::config (const Configsrc_cfg)
+
+virtual
+
+ +

Configures the node.

+ +

Implements sdr::SinkBase.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void AFSK::process (const Buffer< int16_t > & buffer,
bool allow_overwrite 
)
+
+virtual
+
+ +

Processes the given buffer.

+

std::cerr << "Transition at phi=" << _phase << std::endl << " update omega from " << _omega << " to ";

+ +

Implements sdr::Sink< int16_t >.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_baud
+
+protected
+
+ +

The baud rate.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer<uint8_t> sdr::AFSK::_buffer
+
+protected
+
+ +

Output buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AFSK::_corrLen
+
+protected
+
+ +

Correlation length, the number of "symbols" per bit.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer< float > sdr::AFSK::_dl
+
+protected
+
+ +

Delay line for the 8-pole interpolation filter.

+ +
+
+ +
+
+ + + + + +
+ + + + +
size_t sdr::AFSK::_dl_idx
+
+protected
+
+ +

Delay line index.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_Fmark
+
+protected
+
+ +

Mark "tone" frequency.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_Fspace
+
+protected
+
+ +

Space "tone" frequency.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_gainOmega
+
+protected
+
+ +

PLL gain.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AFSK::_lastBits
+
+protected
+
+ +

Last received bits.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int32_t sdr::AFSK::_lastSymSum
+
+protected
+
+ +

Sum of the last _corrLen symbols.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AFSK::_lutIdx
+
+protected
+
+ +

The current FIR filter LUT index.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer< std::complex<float> > sdr::AFSK::_markHist
+
+protected
+
+ +

FIR filter buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer< std::complex<float> > sdr::AFSK::_markLUT
+
+protected
+
+ +

Mark frequency FIR filter LUT.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Mode sdr::AFSK::_mode
+
+protected
+
+ +

Bit encoding mode.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_mu
+
+protected
+
+ +

Symbol subsampling counter.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_muIncr
+
+protected
+
+ +

Symbol subsampling.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_omega
+
+protected
+
+ +

PLL phase speed.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_omegaMax
+
+protected
+
+ +

Minimum PLL phase speed.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_omegaMin
+
+protected
+
+ +

Maximum PLL phase speed.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_phase
+
+protected
+
+ +

Current PLL phase.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_sampleRate
+
+protected
+
+ +

The sample rate of the input signal.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer< std::complex<float> > sdr::AFSK::_spaceHist
+
+protected
+
+ +

FIR filter buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer< std::complex<float> > sdr::AFSK::_spaceLUT
+
+protected
+
+ +

Space frequency FIR filter LUT.

+ +
+
+ +
+
+ + + + + +
+ + + + +
size_t sdr::AFSK::_symbolIdx
+
+protected
+
+ +

Insertion index.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float sdr::AFSK::_symbolRate
+
+protected
+
+ +

A multiple of the baud rate.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer<int16_t> sdr::AFSK::_symbols
+
+protected
+
+ +

Ring buffer of the last _corrLen symbols.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int32_t sdr::AFSK::_symSum
+
+protected
+
+ +

Sum of the current _corrLen symbols.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + 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: Member List + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
sdr::AX25 Member List
+
+
+ +

This is the complete list of members for sdr::AX25, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitbuffersdr::AX25protected
_bitstreamsdr::AX25protected
_buffersdr::AX25protected
_configsdr::Sourceprotected
_eossdr::Sourceprotected
_ptrsdr::AX25protected
_rxbuffersdr::AX25protected
_sinkssdr::Sourceprotected
_statesdr::AX25protected
addEOS(T *instance, void(T::*function)())sdr::Sourceinline
AX25()sdr::AX25
config(const Config &src_cfg)sdr::AX25virtual
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::AX25virtual
propagateConfig(const Config &config)sdr::Sourceprotected
sampleRate() const sdr::Sourcevirtual
send(const RawBuffer &buffer, bool allow_overwrite=false)sdr::Sourcevirtual
setConfig(const Config &config)sdr::Sourcevirtual
signalEOS()sdr::Sourceprotected
Sink()sdr::Sink< uint8_t >inline
SinkBase()sdr::SinkBase
Source()sdr::Source
type() const sdr::Sourcevirtual
unpackCall(const uint8_t *buffer, std::string &call, int &ssid, bool &addrExt)sdr::AX25static
~AX25()sdr::AX25virtual
~Sink()sdr::Sink< uint8_t >inlinevirtual
~SinkBase()sdr::SinkBasevirtual
~Source()sdr::Sourcevirtual
+ + + + 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: sdr::AX25 Class Reference + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +Static Public Member Functions | +Protected Attributes | +List of all members
+
+
sdr::AX25 Class Reference
+
+
+ +

Decodes AX25 (PacketRadio) messages from a bit stream. + More...

+ +

#include <ax25.hh>

+
+Inheritance diagram for sdr::AX25:
+
+
+ + +sdr::Sink< uint8_t > +sdr::Source +sdr::SinkBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+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...
 
+

Detailed Description

+

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.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
AX25::AX25 ()
+
+ +

Constructor.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
AX25::~AX25 ()
+
+virtual
+
+ +

Destructor.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void AX25::config (const Configsrc_cfg)
+
+virtual
+
+ +

Configures the node.

+ +

Implements sdr::SinkBase.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void AX25::process (const Buffer< uint8_t > & buffer,
bool allow_overwrite 
)
+
+virtual
+
+ +

Processes the bit stream.

+
Todo:
Double check this!!!
+ +

Implements sdr::Sink< uint8_t >.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void AX25::unpackCall (const uint8_t * buffer,
std::string & call,
int & ssid,
bool & addrExt 
)
+
+static
+
+ +

Unpacks a AX.25 encoded call (address).

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AX25::_bitbuffer
+
+protected
+
+ +

A buffer of received bits.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AX25::_bitstream
+
+protected
+
+ +

The last bits.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer<uint8_t> sdr::AX25::_buffer
+
+protected
+
+ +

Output buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint8_t* sdr::AX25::_ptr
+
+protected
+
+ +

Insert-pointer to the buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint8_t sdr::AX25::_rxbuffer[512]
+
+protected
+
+ +

Message buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint32_t sdr::AX25::_state
+
+protected
+
+ +

The current state.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + 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: Member List + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
sdr::Baudot Member List
+
+
+ +

This is the complete list of members for sdr::Baudot, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitcountsdr::Baudotprotected
_bitsPerSymbolsdr::Baudotprotected
_bitstreamsdr::Baudotprotected
_buffersdr::Baudotprotected
_configsdr::Sourceprotected
_eossdr::Sourceprotected
_figuresdr::Baudotprotectedstatic
_lettersdr::Baudotprotectedstatic
_masksdr::Baudotprotected
_modesdr::Baudotprotected
_patternsdr::Baudotprotected
_sinkssdr::Sourceprotected
_stopHBitssdr::Baudotprotected
addEOS(T *instance, void(T::*function)())sdr::Sourceinline
Baudot(StopBits stopBits=STOP15)sdr::Baudot
config(const Config &src_cfg)sdr::Baudotvirtual
connect(SinkBase *sink, bool direct=false)sdr::Source
disconnect(SinkBase *sink)sdr::Source
FIGURES enum valuesdr::Baudot
handleBuffer(const RawBuffer &buffer, bool allow_overwrite)sdr::Sink< uint8_t >inlinevirtual
LETTERS enum valuesdr::Baudot
Mode enum namesdr::Baudot
process(const Buffer< uint8_t > &buffer, bool allow_overwrite)sdr::Baudotvirtual
propagateConfig(const Config &config)sdr::Sourceprotected
sampleRate() const sdr::Sourcevirtual
send(const RawBuffer &buffer, bool allow_overwrite=false)sdr::Sourcevirtual
setConfig(const Config &config)sdr::Sourcevirtual
signalEOS()sdr::Sourceprotected
Sink()sdr::Sink< uint8_t >inline
SinkBase()sdr::SinkBase
Source()sdr::Source
STOP1 enum valuesdr::Baudot
STOP15 enum valuesdr::Baudot
STOP2 enum valuesdr::Baudot
StopBits enum namesdr::Baudot
type() const sdr::Sourcevirtual
~Sink()sdr::Sink< uint8_t >inlinevirtual
~SinkBase()sdr::SinkBasevirtual
~Source()sdr::Sourcevirtual
+ + + + 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: sdr::Baudot Class Reference + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Types | +Public Member Functions | +Protected Attributes | +Static Protected Attributes | +List of all members
+
+
sdr::Baudot Class Reference
+
+
+ +

Implements a Baudot decoder. + More...

+ +

#include <baudot.hh>

+
+Inheritance diagram for sdr::Baudot:
+
+
+ + +sdr::Sink< uint8_t > +sdr::Source +sdr::SinkBase + +
+ + + + + + + + +

+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...
 
+

Detailed Description

+

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).

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Baudot::Baudot (StopBits stopBits = STOP15)
+
+ +

Constructor.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void Baudot::config (const Configsrc_cfg)
+
+virtual
+
+ +

Configures the node.

+ +

Implements sdr::SinkBase.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Baudot::process (const Buffer< uint8_t > & buffer,
bool allow_overwrite 
)
+
+virtual
+
+ +

Processes the bit-stream.

+ +

Implements sdr::Sink< uint8_t >.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
size_t sdr::Baudot::_bitcount
+
+protected
+
+ +

The number of bits received.

+ +
+
+ +
+
+ + + + + +
+ + + + +
size_t sdr::Baudot::_bitsPerSymbol
+
+protected
+
+ +

Specifies the number of half bits per symbol.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint16_t sdr::Baudot::_bitstream
+
+protected
+
+ +

The last bits received.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Buffer<uint8_t> sdr::Baudot::_buffer
+
+protected
+
+ +

The output buffer.

+ +
+
+ +
+
+ + + + + +
+ + + + +
char Baudot::_figure
+
+staticprotected
+
+Initial value:
= { 0, '3','\n', '-', ' ','\a', '8', '7','\n', '?', '4','\'', ',', '!',
+
':', '(', '5', '"', ')', '2', '#', '6', '0', '1', '9', '?', '&', 0,
+
'.', '/', ';', 0}
+
+

Code table for symbols or figure (i.e.

+

numbers).

+ +
+
+ +
+
+ + + + + +
+ + + + +
char Baudot::_letter
+
+staticprotected
+
+Initial value:
= { 0, 'E','\n', 'A', ' ', 'S', 'I', 'U','\n', 'D', 'R', 'J', 'N', 'F',
+
'C', 'K', 'T', 'Z', 'L', 'W', 'H', 'Y', 'P', 'Q', 'O', 'B', 'G', 0,
+
'M', 'X', 'V', 0}
+
+

Code table for letters.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint16_t sdr::Baudot::_mask
+
+protected
+
+ +

Specifies the frame mask.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Mode sdr::Baudot::_mode
+
+protected
+
+ +

The currently selected table.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint16_t sdr::Baudot::_pattern
+
+protected
+
+ +

Specifies the frame pattern.

+ +
+
+ +
+
+ + + + + +
+ + + + +
uint16_t sdr::Baudot::_stopHBits
+
+protected
+
+ +

Number of half bits forming the stop bit.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + 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: Member List + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
sdr::TextDump Member List
+
+
+ +

This is the complete list of members for sdr::TextDump, including all inherited members.

+ + + + + + + + + + +
_streamsdr::TextDumpprotected
config(const Config &src_cfg)sdr::TextDumpvirtual
handleBuffer(const RawBuffer &buffer, bool allow_overwrite)sdr::Sink< uint8_t >inlinevirtual
process(const Buffer< uint8_t > &buffer, bool allow_overwrite)sdr::TextDumpvirtual
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::SinkBasevirtual
+ + + + 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: sdr::TextDump Class Reference + + + + + + + + + + +
+
+ + + + + + +
+
libsdr +  0.1.0 +
+
A simple SDR library
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +Protected Attributes | +List of all members
+
+
sdr::TextDump Class Reference
+
+
+ +

Dumps the received uin8_t byte-stream as (ASCII) text. + More...

+ +

#include <utils.hh>

+
+Inheritance diagram for sdr::TextDump:
+
+
+ + +sdr::Sink< uint8_t > +sdr::SinkBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+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...
 
+

Detailed Description

+

Dumps the received uin8_t byte-stream as (ASCII) text.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
TextDump::TextDump (std::ostream & stream = std::cerr)
+
+ +

Constructor.

+

stream specifies the ouput stream.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void TextDump::config (const Configsrc_cfg)
+
+virtual
+
+ +

Configures the sink.

+ +

Implements sdr::SinkBase.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void TextDump::process (const Buffer< uint8_t > & buffer,
bool allow_overwrite 
)
+
+virtual
+
+ +

Processes the input stream.

+ +

Implements sdr::Sink< uint8_t >.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
std::ostream& sdr::TextDump::_stream
+
+protected
+
+ +

The output stream.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + 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 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enums_3.js b/search/enums_3.js new file mode 100644 index 0000000..a9371c6 --- /dev/null +++ b/search/enums_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['stopbits',['StopBits',['../group__datanodes.html#gadbb2fe468eeee0a50936513575d614f1',1,'sdr::Baudot']]] +]; diff --git a/search/enums_4.html b/search/enums_4.html new file mode 100644 index 0000000..6a9acce --- /dev/null +++ b/search/enums_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enums_4.js b/search/enums_4.js new file mode 100644 index 0000000..617fb03 --- /dev/null +++ b/search/enums_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['type',['Type',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8',1,'sdr::Config::Type()'],['../classsdr_1_1_options_1_1_value.html#a0c9f78ee322f128c50d74b76d51ad33e',1,'sdr::Options::Value::Type()']]] +]; diff --git a/search/enumvalues_6.html b/search/enumvalues_6.html new file mode 100644 index 0000000..0c382c7 --- /dev/null +++ b/search/enumvalues_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enumvalues_6.js b/search/enumvalues_6.js new file mode 100644 index 0000000..03fa1f9 --- /dev/null +++ b/search/enumvalues_6.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['transition',['TRANSITION',['../classsdr_1_1_a_f_s_k.html#a616ece7cbdde1101fc7a08bbfacd460da15d9ca21f40f0d9f872fadacf79cf3c1',1,'sdr::AFSK']]], + ['type_5fcf32',['Type_cf32',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a3517b22ed2f8ebce25b6ce140e0fc4ae',1,'sdr::Config']]], + ['type_5fcf64',['Type_cf64',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a0533d0f0f70fad0f430cdfa6c86b4e7c',1,'sdr::Config']]], + ['type_5fcs16',['Type_cs16',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a63b4a03813b5e6224170be42b6275fe7',1,'sdr::Config']]], + ['type_5fcs8',['Type_cs8',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a3db588fd468cb4a78e1efabef4b57b76',1,'sdr::Config']]], + ['type_5fcu16',['Type_cu16',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a6a87fdcbcf659811d60fee74fbea7f07',1,'sdr::Config']]], + ['type_5fcu8',['Type_cu8',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a2d44478e68580bf01d17f6e33eb5d856',1,'sdr::Config']]], + ['type_5ff32',['Type_f32',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a16fb6708c6744a2892bc1badb01953b5',1,'sdr::Config']]], + ['type_5ff64',['Type_f64',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a25a618000b12c978963aa6d19ab92f97',1,'sdr::Config']]], + ['type_5fs16',['Type_s16',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a4f222757d46f6b85c63657e1560bf9eb',1,'sdr::Config']]], + ['type_5fs8',['Type_s8',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8adcae9ece1014b07b0546a2b7a80e18c4',1,'sdr::Config']]], + ['type_5fu16',['Type_u16',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8a9fd5000bcdeaf5872cfa097b8df26a74',1,'sdr::Config']]], + ['type_5fu8',['Type_u8',['../classsdr_1_1_config.html#a62084c40ed753ff6caefdc4564c597b8aff58284f9bbd7e3c690a9e4f1d74aefd',1,'sdr::Config']]] +]; diff --git a/search/searchdata.js b/search/searchdata.js new file mode 100644 index 0000000..97e3486 --- /dev/null +++ b/search/searchdata.js @@ -0,0 +1,39 @@ +var indexSectionsWithContent = +{ + 0: "_abcdefghilmnopqrstuvw~", + 1: "abcdfgilmopqrstuvw", + 2: "_abcdefghilmnopqrstuvw~", + 3: "_hnst", + 4: "ciors", + 5: "admst", + 6: "afilnst", + 7: "df", + 8: "abdt" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "functions", + 3: "variables", + 4: "typedefs", + 5: "enums", + 6: "enumvalues", + 7: "groups", + 8: "pages" +}; + +var indexSectionLabels = +{ + 0: "All", + 1: "Classes", + 2: "Functions", + 3: "Variables", + 4: "Typedefs", + 5: "Enumerations", + 6: "Enumerator", + 7: "Modules", + 8: "Pages" +}; + diff --git a/splitbar.png b/splitbar.png new file mode 100644 index 0000000..fe895f2 Binary files /dev/null and b/splitbar.png differ