diff options
Diffstat (limited to 'usrp2/host/include')
-rw-r--r-- | usrp2/host/include/usrp2/usrp2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usrp2/host/include/usrp2/usrp2.h b/usrp2/host/include/usrp2/usrp2.h index 2d9e2a4b0..e29caa33d 100644 --- a/usrp2/host/include/usrp2/usrp2.h +++ b/usrp2/host/include/usrp2/usrp2.h @@ -21,6 +21,7 @@ #include <boost/shared_ptr.hpp> #include <boost/utility.hpp> +#include <boost/bind.hpp> #include <vector> #include <complex> #include <usrp2/rx_sample_handler.h> @@ -115,6 +116,11 @@ namespace usrp2 { */ /*! + * Set the rx antenna + */ + bool set_rx_antenna(int ant); + + /*! * Set receiver gain * \param gain in dB (more or less) */ @@ -227,6 +233,11 @@ namespace usrp2 { */ /*! + * Set the tx antenna + */ + bool set_tx_antenna(int ant); + + /*! * Set transmitter gain */ bool set_tx_gain(double gain); |