-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for USRP B200/B210 #133
Comments
Thanks @an0nym0usatch1na . URH currently offers no support for USRP B200/210. I will add support for this soon, so stay stuned. |
nice!!! |
I do not possess a USRP B200/210, but it seems they use the same UHD block in Gnuradio. I just fixed the IP Validator to allow address: "". Could you pull latest master and enter "" in IP field send/receive dialog, and see if it works? |
Hi @jopohl All USRPs can be found and accessed through the common multi_usrp API. Currently URH is asking for an IP address and hardcoding the "addr=". It would be more generic, and useful, to ask for device arguments. This is the standard approach for the UHD examples and is also used in the GNU Radio (Companion) interface. UHD documentation of supported keys: There are also various configuration values that can be passed into the same argument string. I don't have hardware on hand, but will give it a try shortly with a few USRPs. Thank you for all your time producing this tool, I look forward to running it! |
Really need Add support for USRP B200 |
@jopohl I've tried the newest master (3888712) and it's still not working with my B200mini using "" as the ip address. Looking at the code, looks like dkozel has it about right. Also, I've got access to most of the Ettus SDRs and a LimeSDR as well, if you need someone to test those. Finally, as you mentioned, it probably makes sense to develop a UHD interface either with cython or as a c extension, I was thinking along the same lines myself, if you are interested in accepting PR's or need a hand. |
@pwicks86 that would be awesome! My idea with entering "" as IP was only a guess, because I lack USRP B200 for testing, so it would be very cool if you could support us with testing it. I am glad for any help writing a Cython Wrapper for UHD and would of course accept a PR. Let me know if you need any further information on this! |
Here's a minimal changeset which allows the device arguments to be passed directly through for reception. I've tested with B200, B200mini, X300, and N210. I'm working on a larger changeset which updates the UI to be clearer and passes around the device argument string in a variable other than |
Here's the receive side of the UI refactoring. The argument passing can probably be improved, but it is functional and I don't think it will conflict with other SDR interfaces? I don't have other hardware with me to try since I'm traveling. @jopohl Does this look reasonable? I can do the same type of edits on the transmit side if so and open a pull request. |
Looks like a smart solution to me @dkozel ! I would to merge a PR with this edits (and the upcoming edits for the transmit side) from you. |
I just tested your changes with my USRP N210 and it works fine for me too! What would you have to enter in device args if you want to use e.g. B200? I am just asking because we may need to document this somewhere (maybe in tooltip of device args?) |
The device arguments are all documented in the UHD manual I linked to above. So the B200 would be |
Loved urh very much, it works fine with my hackrf, but does urh support USB based USRP such as USRP B200/B210? I can only find USRP support of old ip address based version USRP. Thanks.
The text was updated successfully, but these errors were encountered: