19 #ifndef GNSS_SDR_RTL_TCP_DONGLE_INFO_H 20 #define GNSS_SDR_RTL_TCP_DONGLE_INFO_H 22 #include <boost/asio/ip/tcp.hpp> 51 boost::system::error_code read(boost::asio::ip::tcp::socket &socket);
53 bool is_valid()
const;
55 const char *get_type_name()
const;
57 double clip_gain(
int gain)
const;
59 inline uint32_t get_tuner_type()
const 64 inline uint32_t get_tuner_gain_count()
const 66 return tuner_gain_count_;
72 uint32_t tuner_gain_count_;
78 #endif // GNSS_SDR_RTL_TCP_DONGLE_INFO_H This class represents the dongle information which is sent by rtl_tcp.