I have a UHD app I’d like to work with USRP1 and 2- but when I give
USRP2:
self.dut_out.set_subdev_spec(“A:A A:B”, 0)
it complains about the A’s and I have to specify “:A :B” instead, but
for USRP1 it needs the A.
It would be a nice simplification if the USRP2 allowed A:whatever since
it technically has a side A and just no B.
I’m about to look in the .h files right now, but is there a quick way,
given a self.usrp = uhd.usrp_source() to call self.usrp.is_usrp2() or
something?