HARDT - The Ham Radio DSP Toolkit
hrtl2832.h
1 #ifndef __HRTL_H
2 #define __HRTL_H
3 
4 #include <stdio.h>
5 #include <iostream>
6 #include <vector>
7 #include <map>
8 
9 #include "hardt.h"
10 #include "rtl-sdr.h"
11 
17 class HRtl2832
18 {
19  public:
20 
25  {
30  int Device;
31 
35  std::string Vendor;
36 
40  std::string Product;
41 
45  std::string Serial;
46 
51 
55  std::vector<int> Gain;
56  };
57 
61  static int AvailableDevices();
62 
66  static std::vector<DeviceInformation> GetDeviceInformation();
67 
71  static int GetDefaultDevice();
72 
80  enum MODE {IQ_SAMPLES, I_SAMPLES, Q_SAMPLES, REAL_SAMPLES};
81 };
82 
83 #endif
HRtl2832::GetDefaultDevice
static int GetDefaultDevice()
Definition: hrtl2832.cpp:56
HRtl2832
Definition: hrtl2832.h:17
HRtl2832::DeviceInformation::IsDefaultDevice
bool IsDefaultDevice
Definition: hrtl2832.h:50
HRtl2832::DeviceInformation::Serial
std::string Serial
Definition: hrtl2832.h:45
HRtl2832::GetDeviceInformation
static std::vector< DeviceInformation > GetDeviceInformation()
Definition: hrtl2832.cpp:7
HRtl2832::DeviceInformation::Vendor
std::string Vendor
Definition: hrtl2832.h:35
HRtl2832::DeviceInformation::Product
std::string Product
Definition: hrtl2832.h:40
HRtl2832::AvailableDevices
static int AvailableDevices()
Definition: hrtl2832.cpp:62
HRtl2832::DeviceInformation
Definition: hrtl2832.h:24
HRtl2832::DeviceInformation::Gain
std::vector< int > Gain
Definition: hrtl2832.h:55
HRtl2832::MODE
MODE
Definition: hrtl2832.h:80
HRtl2832::DeviceInformation::Device
int Device
Definition: hrtl2832.h:30