On Thu, Mar 14, 2019 at 3:15 PM Dan Clemmensen via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
Several of the special memories on the FT-4 are supposed to be restricted to specific bands: e.g, "HOME UHF" is supposed to have a UHF frequency. Is there a way to enforce this restriction in the UI? If not, is there a simple way to enforce this in the driver?
Take a look at the gmrs_uv1.py driver. With this driver there are some channels that must be NFM while other can be NFM or FM. If the user tries to change the setting to FM on one that is not permitted, there is a popup warning saying "Error setting memory: Memory location only supports NFM". Also on this driver the RX/TX frequencies of channels 1-22 (model supporting the new rules) are fixed. If the user tries to change the Frequency field for one of these channels, there is a popup warning saying "Error setting memory: Memory location cannot change frequency".
The remaining memories are RX only. All the user can do is change the Duplex setting but as soon as CHIRP is refreshed, the Duplex setting reverts to (None). It would be nice to have a better solution here.
Jim KC9HI