Skip to content
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

Testing - Add a task preference item to each SDR (ignored the new networked receivers, just port from 1.5) #640

Open
wants to merge 3 commits into
base: testing
Choose a base branch
from

Conversation

pamribeirox
Copy link

The default behavior is kept if station.cfg isn't updated
By default the SDR's are tasked simply from the lowest to the higher id (serial number)
Sometimes due to different RTL hardware, antennas or RF filtering/amplification is convenient to sort the task allocation based on a defined order.
This changes add an optional parameter to each SDR that can be used to raise or lower his allocation preference.

Hope this will help other people from the community

Python code changes mostly by my son Diogo (I'm a C/C++ guy)

Regards CT7ABP Pedro.

Add a parameter to each SDR to task allocation preference
On task allocation follow preference values (by default using id as before)
Add documentation of the new parameter for task allocation preference
@darksidelemm
Copy link
Member

I think this will break if the networked-SDR configuration is used, as the code will be looking for a 'preference' field.

You'd need to add in a preference field when the network SDR structures are created:

auto_rx_config["sdr_settings"][_sdr_name] = {

and
auto_rx_config["sdr_settings"][_sdr_name] = {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants