-
Notifications
You must be signed in to change notification settings - Fork 181
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
SoapySDR Python only connects to channel 0. #440
Comments
Do not download, unpack or run that rar archive, it is malware. |
If possible confirm this by submitting the contained file |
No worries, not touching that malware. Thanks @zuckschwerdt . |
GitHub was fast to react and the file hosting site also took that upload down. Regarding your python api worries I can't really help, I've never used the python bindings and I don't have multi-channel capable hardware. But looking at the source https://github.com/cariboulabs/cariboulite/blob/main/software/libcariboulite/src/soapy_api/Cariboulite.cpp#L86 I notice that the channel arg is disregarded, the cariboulite_radio_state_st radio type is used. This type is setup with the channel info from device creation https://github.com/cariboulabs/cariboulite/blob/main/software/libcariboulite/src/soapy_api/Cariboulite.cpp#L17 |
Many thanks for the pointers. I'll start there and let you know how it goes. |
I.e. I guess you need different |
Hello,
Thanks for the great SoapySDR library.
I'm having an issue when connecting to Cariboulite SDR using SoapySDR. I'm pretty sure the issue is contained within SoapySDR's Python interface: I can see both of Cariboulite's channels (S1G and HiF) and use them both from SDR++ and CubicSDR. But when writing Python scripts, I am limited to using only the S1G channel. For instance,
getAntenna
only ever returns the S1G channel. Here is an example:The above code returns the expected channels, so I know that SoapySDR can see them:
Unfortunately, when I call
getAntenna
to start trying to collect a signal I am only able to get the S1G channel:gives
I'm pretty sure the
sdrplay
error isn't an issue here. As mentioned above, I know that through SDR++ and CubicSDR running with SoapySDR I can access the HiF antenna.Any hints as to how I can access the channel listed as
device_id: 1
?Thanks for any help.
The text was updated successfully, but these errors were encountered: