USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
usrp_info.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Ettus Research LLC
3  *
4  * SPDX-License-Identifier: GPL-3.0
5  */
6 
7 #ifndef INCLUDED_UHD_TYPES_USRP_INFO_H
8 #define INCLUDED_UHD_TYPES_USRP_INFO_H
9 
10 #include <uhd/config.h>
11 #include <uhd/error.h>
12 
14 
17 typedef struct {
19  char* mboard_id;
21  char* mboard_name;
25  char* rx_id;
31  char* rx_serial;
33  char* rx_antenna;
35 
37 
40 typedef struct {
42  char* mboard_id;
44  char* mboard_name;
48  char* tx_id;
54  char* tx_serial;
56  char* tx_antenna;
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
64 
70 
72 
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif /* INCLUDED_UHD_TYPES_USRP_INFO_H */
char * tx_subdev_name
TX subdev name.
Definition: usrp_info.h:50
char * mboard_name
Motherboard name.
Definition: usrp_info.h:21
char * tx_antenna
TX daughterboard antenna.
Definition: usrp_info.h:56
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:25
char * rx_subdev_spec
RX subdev spec.
Definition: usrp_info.h:29
char * tx_serial
TX daughterboard serial.
Definition: usrp_info.h:54
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:19
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:23
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:52
char * mboard_name
Motherboard name.
Definition: usrp_info.h:44
char * tx_id
TX daughterboard ID.
Definition: usrp_info.h:48
USRP TX info.
Definition: usrp_info.h:40
#define UHD_API
Definition: config.h:62
char * mboard_id
Motherboard ID.
Definition: usrp_info.h:42
char * rx_serial
RX daughterboard serial.
Definition: usrp_info.h:31
char * mboard_serial
Motherboard serial.
Definition: usrp_info.h:46
char * rx_antenna
RX daughterboard antenna.
Definition: usrp_info.h:33
char * rx_subdev_name
RX subdev name.
Definition: usrp_info.h:27