Loading...
Searching...
No Matches
usrp_info.h
Go to the documentation of this file.
/*
* Copyright 2015 Ettus Research LLC
* Copyright 2018 Ettus Research, a National Instruments Company
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <uhd/config.h>
#include <uhd/error.h>
typedef struct
{
char* mboard_id;
char* mboard_name;
char* mboard_serial;
char* rx_id;
char* rx_subdev_name;
char* rx_subdev_spec;
char* rx_serial;
char* rx_antenna;
} uhd_usrp_rx_info_t;
typedef struct
{
char* mboard_id;
char* mboard_name;
char* mboard_serial;
char* tx_id;
char* tx_subdev_name;
char* tx_subdev_spec;
char* tx_serial;
char* tx_antenna;
} uhd_usrp_tx_info_t;
#ifdef __cplusplus
extern "C" {
#endif
UHD_API uhd_error uhd_usrp_rx_info_free(uhd_usrp_rx_info_t* rx_info);
UHD_API uhd_error uhd_usrp_tx_info_free(uhd_usrp_tx_info_t* tx_info);
#ifdef __cplusplus
}
#endif
config.h
UHD_API
#define UHD_API
Definition config.h:87
error.h
uhd_error
uhd_error
UHD error codes.
Definition error.h:20
uhd_usrp_rx_info_t
USRP RX info.
Definition usrp_info.h:18
uhd_usrp_rx_info_t::rx_id
char * rx_id
RX daughterboard ID.
Definition usrp_info.h:26
uhd_usrp_rx_info_t::rx_serial
char * rx_serial
RX daughterboard serial.
Definition usrp_info.h:32
uhd_usrp_rx_info_t::rx_antenna
char * rx_antenna
RX daughterboard antenna.
Definition usrp_info.h:34
uhd_usrp_rx_info_t::rx_subdev_name
char * rx_subdev_name
RX subdev name.
Definition usrp_info.h:28
uhd_usrp_rx_info_t::rx_subdev_spec
char * rx_subdev_spec
RX subdev spec.
Definition usrp_info.h:30
uhd_usrp_rx_info_t::mboard_id
char * mboard_id
Motherboard ID.
Definition usrp_info.h:20
uhd_usrp_rx_info_t::mboard_serial
char * mboard_serial
Motherboard serial.
Definition usrp_info.h:24
uhd_usrp_rx_info_t::mboard_name
char * mboard_name
Motherboard name.
Definition usrp_info.h:22
uhd_usrp_tx_info_t
USRP TX info.
Definition usrp_info.h:42
uhd_usrp_tx_info_t::tx_id
char * tx_id
TX daughterboard ID.
Definition usrp_info.h:50
uhd_usrp_tx_info_t::tx_subdev_name
char * tx_subdev_name
TX subdev name.
Definition usrp_info.h:52
uhd_usrp_tx_info_t::tx_serial
char * tx_serial
TX daughterboard serial.
Definition usrp_info.h:56
uhd_usrp_tx_info_t::mboard_id
char * mboard_id
Motherboard ID.
Definition usrp_info.h:44
uhd_usrp_tx_info_t::mboard_name
char * mboard_name
Motherboard name.
Definition usrp_info.h:46
uhd_usrp_tx_info_t::tx_antenna
char * tx_antenna
TX daughterboard antenna.
Definition usrp_info.h:58
uhd_usrp_tx_info_t::tx_subdev_spec
char * tx_subdev_spec
TX subdev spec.
Definition usrp_info.h:54
uhd_usrp_tx_info_t::mboard_serial
char * mboard_serial
Motherboard serial.
Definition usrp_info.h:48
uhd_usrp_rx_info_free
UHD_API uhd_error uhd_usrp_rx_info_free(uhd_usrp_rx_info_t *rx_info)
Clean up a uhd_usrp_rx_info_t populated by uhd_usrp_get_rx_info().
uhd_usrp_tx_info_free
UHD_API uhd_error uhd_usrp_tx_info_free(uhd_usrp_tx_info_t *tx_info)
Clean up a uhd_usrp_tx_info_t populated by uhd_usrp_get_tx_info().