GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
Enumerations | Functions
rtl_tcp_commands.h File Reference

Defines structures and constants for communicating with rtl_tcp. More...

#include <boost/asio/ip/tcp.hpp>
#include <boost/system/error_code.hpp>

Go to the source code of this file.

Enumerations

enum  RTL_TCP_COMMAND {
  RTL_TCP_SET_FREQUENCY = 1, RTL_TCP_SET_SAMPLE_RATE = 2, RTL_TCP_SET_GAIN_MODE = 3, RTL_TCP_SET_GAIN = 4,
  RTL_TCP_SET_IF_GAIN = 6, RTL_TCP_SET_AGC_MODE = 8
}
 Command IDs for configuration rtl_tcp. More...
 

Functions

boost::system::error_code rtl_tcp_command (RTL_TCP_COMMAND id, unsigned param, boost::asio::ip::tcp::socket &socket)
 Send a command to rtl_tcp over the given socket. More...
 

Detailed Description

Defines structures and constants for communicating with rtl_tcp.

Author
Anthony Arnold, 2015. anthony.arnold(at)uqconnect.edu.au

This file contains information taken from librtlsdr:

https://git.osmocom.org/rtl-sdr

Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)

GNSS-SDR is a software defined Global Navigation Satellite Systems receiver

This file is part of GNSS-SDR.

SPDX-License-Identifier: GPL-3.0-or-later


Definition in file rtl_tcp_commands.h.

Enumeration Type Documentation

◆ RTL_TCP_COMMAND

Command IDs for configuration rtl_tcp.

Definition at line 28 of file rtl_tcp_commands.h.

Function Documentation

◆ rtl_tcp_command()

boost::system::error_code rtl_tcp_command ( RTL_TCP_COMMAND  id,
unsigned  param,
boost::asio::ip::tcp::socket &  socket 
)

Send a command to rtl_tcp over the given socket.