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 device support for XTRX #584
Comments
|
I've already started to port libxtrx into URH here https://github.com/zhovner/urh/ This example application that using I would appreciate any help. |
|
Little quick start guide for those who maybe want to join me. @JessieAMorris @ducnguyenAstro @ccsh23 @ynour @mpbraendli
Hardware support in URH made by Cython wrappers of original C libraries. Here is an example for HackRF (libhackrf):
I write some XTRX wrappers:
To build this Cython wrapper into binary use this script: For the current moment I can build it successfully but not sure if it even works :) |
|
I can now successfully initialize XTRX using my wrappers. Real breakthrough for me. |
|
Nice. Have you committed your changes on your branch? I've been adding some of the auxiliary stuff that was missing, i.e. device config, etc. Mostly still working on getting familiar with the urh codebase still. |
Yes. At this moment we need to work at xtrx.pyx to add all necessary functions. I think the good first step is to implement receive only functionality. |
|
I've made a good start on that. I have device listing and device opening working at this point. I'm working on frequency setting, gain, etc. as well. |
|
Not sure if you want to give me permissions to push to your fork or if I should just fork yours. |
|
For now, I've just created a fork to be able to push my code and so you can see what I've done so far: https://github.com/JessieAMorris/urh I did have to go into the options menu in urh and enable the XTRX portion to get it to show up in the devices. |
I've grant you access to my repo. Fell free to merge. |
|
@zhovner I just pushed up my changes. I have a working (I think) spectrum analyzer now. I'm not sure if the data is accurate yet, but it is showing something that seems reasonable ish. I think I need to figure out gain options next. Error handling still seems to be pretty poor. It seems like the XTRX can get into a funky state pretty easily. I've found that setting the sample rate is needed before tuning the radio and subsequent sample rate changes are iffy at best. I've found that the |
|
Great, will test in few days. |
|
I've record a screencast of testing spectrum analyzer with RTL-SDR and XTRX for comparison. RTL-SDR: https://files.catbox.moe/zwsob8.mp4 Looks like XTRX does not receive any data. Sometimes it shows some static signal when i press Start button, but no new signal after. But at least it found a correct device identifier :) |
|
Yeah, I can believe that. I need to take a closer look at the data that the xtrx is outputting and make sure that I'm formatting it correctly for urh. I probably won't have any time until tomorrow to look at that. |
|
I just pushed my fixes to @zhovner's master branch. |



XTRX is a versatile and powerfull SDR https://www.crowdsupply.com/fairwaves/xtrx
It would be nice to add it to URH.
They have two modes:
Here it the sources: https://github.com/xtrx-sdr
And first start howto https://github.com/xtrx-sdr/images
The text was updated successfully, but these errors were encountered: