cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.06k stars 362 forks source link

prioritizing a dongle with a valid id string over an anonymous one #239

Closed jpoirier closed 8 years ago

jpoirier commented 8 years ago

when a dongle with a stratux id string is introduced, or exists in the config list, it should override and/or take the place of an anonymous dongle and the anonymous dongle should then be configured for an unused frequency.

edit: behavior of unused anonymous dongle

bkwny commented 8 years ago

And if the newly-freed anonymous dongle could be used to satisfy a frequency enabled on the WebUI but not having a dongle, put the anonymous dongle to use for it.

jpoirier commented 8 years ago

On Mon, Feb 8, 2016 at 8:27 PM, bkwny notifications@github.com wrote:

And if the newly-freed anonymous dongle could be used to satisfy an frequency enabled on the WebUI but not having a dongle, put the anonymous dongle to use for it.

thanks.

I updated the initial post's verbiage. Though the current code will re-config the anonymous dongle either in the current pass or the next pass, depending on what frequency the dongle with the id was configured for, it's not a bad idea to explicitly state the requirement .