USRP Hardware Driver and USRP Manual  Version: 003.009.004-0-g2b5a88bb
UHD and USRP Manual
usrp_info.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Ettus Research LLC
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef INCLUDED_UHD_TYPES_USRP_INFO_H
19 #define INCLUDED_UHD_TYPES_USRP_INFO_H
20 
21 #include <uhd/config.h>
22 #include <uhd/error.h>
23 
25 
28 typedef struct {
30  char* mboard_id;
32  char* mboard_name;
36  char* rx_id;
42  char* rx_serial;
44  char* rx_antenna;
46 
48 
51 typedef struct {
53  char* mboard_id;
55  char* mboard_name;
59  char* tx_id;
65  char* tx_serial;
67  char* tx_antenna;
69 
70 #ifdef __cplusplus
71 extern "C" {
72 #endif
73 
75 
81 
83 
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif /* INCLUDED_UHD_TYPES_USRP_INFO_H */
char * tx_subdev_name
TX subdev name.
Definition: usrp_info.h:61
char * mboard_name
Motherboard name.
Definition: usrp_info.h:32
char * tx_antenna
TX daughterboard antenna.
Definition: usrp_info.h:67
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:36
char * rx_subdev_spec
RX subdev spec.
Definition: usrp_info.h:40
char * tx_serial
TX daughterboard serial.
Definition: usrp_info.h:65
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:30
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:34
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:31
USRP RX info.
Definition: usrp_info.h:28
char * tx_subdev_spec
TX subdev spec.
Definition: usrp_info.h:63
char * mboard_name
Motherboard name.
Definition: usrp_info.h:55
char * tx_id
TX daughterboard ID.
Definition: usrp_info.h:59
USRP TX info.
Definition: usrp_info.h:51
#define UHD_API
Definition: config.h:66
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:53
char * rx_serial
RX daughterboard serial.
Definition: usrp_info.h:42
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:57
char * rx_antenna
RX daughterboard antenna.
Definition: usrp_info.h:44
char * rx_subdev_name
RX subdev name.
Definition: usrp_info.h:38