hmatuschek / qdmr

A GUI application for configuring and programming cheap DMR radios under Linux and MacOS X.
https://dm3mat.darc.de/qdmr/
GNU General Public License v3.0
223 stars 46 forks source link

idea: automatically remove channels that are out of range #157

Closed DC7IA closed 3 years ago

DC7IA commented 3 years ago

An idea for an additional feature:

An option to automatically remove channels that are out of range when writing to a radio.

This allows maintaining a single codeplug for a variety of radios with different ranges.

For example a codeplug containing frequencies in the 2 m and 70 cm amateur radio bands can then be written to a 70 cm radio. The 2 m channels simply aren't used.

Like this:

The following changels are out of range. Do you want to omit them when writing to the radio?

[ Yes, all of them ] [ Select channels to omit ] [ Abort writing ]

Or maybe something similar.

DC7IA commented 3 years ago

I guess that's not too difficult to do given that there are already checks for channels that are out of range.

hmatuschek commented 3 years ago

This is more complicated that you think, as channels might be referenced in scan lists and DMR APRS configurations as revert channels. So I have to be very careful not to produce a inconsistent codeplug. It would be easier to simply set them to "RX only". The MD390 manufacturer CPS, however, will then stop working properly.

DC7IA commented 3 years ago

The MD390 manufacturer CPS, however, will then stop working properly.

Then ask the user and then do the appropriate action?

Removing channels that are out of range before writing is a better solution long-term, I think. But I also think there are a lot more things that are more relevant for now. :D

hmatuschek commented 3 years ago

I've just enabled "Discussions" for this repository. Hopefully I can bundle also email discussions there. How about moving this issue there?