As you probably noticed, it’s in an #if 0’d section of code. That’s
because it’s no longer applicable (and doesn’t work anymore). There
are now many more registers that must be written to set up the USRP
for reasonable behavior. That’s why the code in usrp_basic.{h,cc} and
usrp_standard.{h,cc} exist.
You’ll be better off trying test_usrp_standard_{rx, tx}.cc
Back to your original question, See usrp_interfaces.h.
They are now called USRP_TX_ENDPOINT and USRP_RX_ENDPOINT.
Also, as I recall, you’re trying to use the USRP without GNU Radio.
The high-level interface you’ll want to use is defined in
usrp_standard.h.
Create instances of usrp_standard_tx and usrp_standard_rx.
Eric
#ifndefUSRP_INTERFACES_H #defineUSRP_INTERFACES_H
/*
We’ve now split the USRP into 3 separate interfaces.
Interface 0 contains only ep0 and is used for command and status.
Interface 1 is the Tx path and it uses ep2 OUT BULK.
Interface 2 is the Rx path and it uses ep6 IN BULK.
*/