29 #ifndef N200Serial_HDR 30 #define N200Serial_HDR 36 #include <boost/format.hpp> 38 #include <uhd/usrp/multi_usrp.hpp> 60 std::string ip_addr_str,
61 unsigned int portnum = 49172
89 bool setBand(
unsigned int band,
bool state);
97 bool getBand(
unsigned int band);
100 bool sendCommand(
const std::string & cmd,
int retry_count);
107 uhd::usrp::multi_usrp::sptr
usrp;
uhd::usrp::multi_usrp::sptr usrp
Transmit/Receive switch control for N200/N210 via the GPS serial or EXP serial io port...
bool setTXOff()
activate external controls to disable transmit mode.
Generic Control class to activate T/R switching, band switching, and other control functions...
bool setTXOn()
activate external controls to enable transmit mode.
bool getBand(unsigned int band)
query state of signal path for selected band
N200Control(uhd::usrp::multi_usrp::sptr usrp, int mboard, std::string ip_addr_str, unsigned int portnum=49172)
constructor
bool sendCommand(const std::string &cmd, int retry_count)
bool getTX()
report state of transmit-enable.
bool setBand(unsigned int band, bool state)
turn on/off signal path for selected band note that multiple bands can be enabled at one time(!) ...