GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Classes | Macros | Enumerations | Functions
ad9361_manager.h File Reference

An Analog Devices AD9361 front-end configuration library wrapper for configure some functions via iiod link. More...

#include <iio.h>
#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

struct  stream_cfg
 

Macros

#define FIR_BUF_SIZE   8192
 

Enumerations

enum  iodev { RX, TX }
 

Functions

void errchk (int v, const char *what)
 
void wr_ch_lli (struct iio_channel *chn, const char *what, int64_t val)
 
void wr_ch_str (struct iio_channel *chn, const char *what, const char *str)
 
struct iio_device * get_ad9361_phy (struct iio_context *ctx)
 
bool get_ad9361_stream_dev (struct iio_context *ctx, enum iodev d, struct iio_device **dev)
 
bool get_ad9361_stream_ch (struct iio_context *ctx, enum iodev d, struct iio_device *dev, int chid, struct iio_channel **chn)
 
bool get_phy_chan (struct iio_context *ctx, enum iodev d, int chid, struct iio_channel **chn)
 
bool get_lo_chan (struct iio_context *ctx, enum iodev d, struct iio_channel **chn)
 
bool cfg_ad9361_streaming_ch (struct iio_context *ctx, struct stream_cfg *cfg, enum iodev type, int chid)
 
bool config_ad9361_rx_local (uint64_t bandwidth_, uint64_t sample_rate_, uint64_t freq0_, uint64_t freq1_, const std::string &rf_port_select_, bool rx1_enable_, bool rx2_enable_, const std::string &gain_mode_rx1_, const std::string &gain_mode_rx2_, double rf_gain_rx1_, double rf_gain_rx2_, bool quadrature_, bool rfdc_, bool bbdc_, std::string filter_source_, std::string filter_filename_, float Fpass_, float Fstop_)
 
bool config_ad9361_rx_remote (const std::string &remote_host, uint64_t bandwidth_, uint64_t sample_rate_, uint64_t freq_, const std::string &rf_port_select_, bool rx1_enable_, bool rx2_enable_, const std::string &gain_mode_rx1_, const std::string &gain_mode_rx2_, double rf_gain_rx1_, double rf_gain_rx2_, bool quadrature_, bool rfdc_, bool bbdc_, std::string filter_source_, std::string filter_filename_, float Fpass_, float Fstop_)
 
bool config_ad9361_lo_local (uint64_t bandwidth_, uint64_t sample_rate_, uint64_t freq_rf_tx_hz_, double tx_attenuation_db_, int64_t freq_dds_tx_hz_, double scale_dds_dbfs_, double phase_dds_deg_)
 
bool config_ad9361_lo_remote (const std::string &remote_host, uint64_t bandwidth_, uint64_t sample_rate_, uint64_t freq_rf_tx_hz_, double tx_attenuation_db_, int64_t freq_dds_tx_hz_, double scale_dds_dbfs_, double phase_dds_deg_)
 
bool ad9361_disable_lo_remote (const std::string &remote_host)
 
bool ad9361_disable_lo_local ()
 
bool load_fir_filter (std::string &filter, struct iio_device *phy)
 
bool disable_ad9361_rx_local ()
 
bool disable_ad9361_rx_remote (const std::string &remote_host)
 

Detailed Description

An Analog Devices AD9361 front-end configuration library wrapper for configure some functions via iiod link.

Author
Javier Arribas, jarribas(at)cttc.es

This file contains information taken from librtlsdr: https://git.osmocom.org/rtl-sdr


GNSS-SDR is a Global Navigation Satellite System software-defined receiver. This file is part of GNSS-SDR.

Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) SPDX-License-Identifier: GPL-3.0-or-later


Definition in file ad9361_manager.h.