USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ge00f1f37
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 #ifndef INCLUDED_UHD_TYPES_USRP_INFO_H
9 #define INCLUDED_UHD_TYPES_USRP_INFO_H
10 
11 #include <uhd/config.h>
12 #include <uhd/error.h>
13 
15 
18 typedef struct {
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 {
43  char* mboard_id;
45  char* mboard_name;
49  char* tx_id;
55  char* tx_serial;
57  char* tx_antenna;
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
65 
71 
73 
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* INCLUDED_UHD_TYPES_USRP_INFO_H */
char * tx_subdev_name
TX subdev name.
Definition: usrp_info.h:51
char * mboard_name
Motherboard name.
Definition: usrp_info.h:22
char * tx_antenna
TX daughterboard antenna.
Definition: usrp_info.h:57
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:55
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:21
USRP RX info.
Definition: usrp_info.h:18
char * tx_subdev_spec
TX subdev spec.
Definition: usrp_info.h:53
char * mboard_name
Motherboard name.
Definition: usrp_info.h:45
char * tx_id
TX daughterboard ID.
Definition: usrp_info.h:49
USRP TX info.
Definition: usrp_info.h:41
#define UHD_API
Definition: config.h:63
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:43
char * rx_serial
RX daughterboard serial.
Definition: usrp_info.h:32
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:47
char * rx_antenna
RX daughterboard antenna.
Definition: usrp_info.h:34
char * rx_subdev_name
RX subdev name.
Definition: usrp_info.h:28