USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
usrp_info.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Ettus Research LLC
3  * Copyright 2018 Ettus Research, a National Instruments Company
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  */
7 
8 #pragma once
9 
10 #include <uhd/config.h>
11 #include <uhd/error.h>
12 
14 
17 typedef struct
18 {
20  char* mboard_id;
22  char* mboard_name;
26  char* rx_id;
32  char* rx_serial;
34  char* rx_antenna;
36 
38 
41 typedef struct
42 {
44  char* mboard_id;
46  char* mboard_name;
50  char* tx_id;
56  char* tx_serial;
58  char* tx_antenna;
60 
61 #ifdef __cplusplus
62 extern "C" {
63 #endif
64 
66 
72 
74 
80 
81 #ifdef __cplusplus
82 }
83 #endif
char * tx_subdev_name
TX subdev name.
Definition: usrp_info.h:52
char * mboard_name
Motherboard name.
Definition: usrp_info.h:22
char * tx_antenna
TX daughterboard antenna.
Definition: usrp_info.h:58
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().
char * rx_id
RX daughterboard ID.
Definition: usrp_info.h:26
char * rx_subdev_spec
RX subdev spec.
Definition: usrp_info.h:30
char * tx_serial
TX daughterboard serial.
Definition: usrp_info.h:56
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:20
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:24
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_error
UHD error codes.
Definition: error.h:20
USRP RX info.
Definition: usrp_info.h:17
char * tx_subdev_spec
TX subdev spec.
Definition: usrp_info.h:54
char * mboard_name
Motherboard name.
Definition: usrp_info.h:46
char * tx_id
TX daughterboard ID.
Definition: usrp_info.h:50
USRP TX info.
Definition: usrp_info.h:41
#define UHD_API
Definition: config.h:87
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:44
char * rx_serial
RX daughterboard serial.
Definition: usrp_info.h:32
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:48
char * rx_antenna
RX daughterboard antenna.
Definition: usrp_info.h:34
char * rx_subdev_name
RX subdev name.
Definition: usrp_info.h:28