On Linux, You can also run "lsusb -v -d2500:" (2500 for Ettus) and inspect the "bcdUSB" line.
Regards, Gilad Beeri CTO, ApolloShield Anti-Drone Systems www.apolloshield.com [email protected] ᐧ On Wed, Dec 2, 2020 at 11:16 AM Mikio Fukushima via USRP-users < [email protected]> wrote: > Hi Marcus, > Thank you for your mail. > > I done based on your information as follows. > > >> code here << > > uhd::usrp::multi_usrp::sptr usrp = uhd::usrp::multi_usrp::make(args); > > string devicename = > usrp->get_device()->get_tree()->access<string>("/mboards/0/name").get(); > double maxrate = > usrp->get_device()->get_tree()->access<double>("/mboards/0/link_max_rate").get(); > if((devicename == "B200" or devicename == "B200mini") and maxrate < > 500000000) > { > > } > > >> code end << > > Thank you. > > _______________________________________________ > USRP-users mailing list > [email protected] > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
_______________________________________________ USRP-users mailing list [email protected] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
