from "The SDR blog"
This is by no means a complete list, and I will be updating it as I find more of them…
- import usrp2
- usrp.source_c() becomes usrp2.source_32fc(“eth0″, “”)
- adc_rate is 100MS/s instead of 64MS/s, multiply decimation with ~1.5
- set_decim_rate() becomes set_decim()
- remove all “subdev”-related code
subdev.gain_range() becomes usrp2.gain_range()
subdev.set_gain() becomes usrp2.set_gain() - usrp.tune() becomes usrp2.set_center_freq()
////////////////////////////////////////////////////////////////////////////////////////