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