If you have access to the UHD API, the property tree entry is /mboards/0/link_max_rate.
So, something like auto value = my_usrp_object->get_tree()->access<double>("/mboards/0/link_max_rate") will give you the maximum rate you can transport through your USB link. Maybe that's actually what you're looking for, but otherwise it suffices to figure out whether you're on High Speed or USB3 SuperSpeed. Note this: The Property Tree is **NOT** UHD API! There's No Guarantee At All This Won't Change. Best regards, Marcus On 01.12.20 02:55, Mikio Fukushima via USRP-users wrote: > Hi, > > I use a B200 and B200mini. > Often they are connected under USB 2.0 ports, it will cause some problems. > Can I detect a wire type of USB device by UHD API? > > Mikio > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com