[chirp_devel] Untunable/tuning step frequencies
Rick (AA0RD) DeWitt
Sun Dec 20 14:49:21 PST 2020
Try setting features-
rf.has_nostep_tuning = True
and to disable the tuning step column in the UI-
rf.has_tuning_step = False
On 12/20/2020 2:07 PM, Jim Unroe via chirp_devel wrote:
> On Wed, Dec 2, 2020 at 5:56 PM Brad & Cindy Schuler via chirp_devel
> <chirp_devel at intrepid.danplanet.com> wrote:
>> Is there a convention for how a driver should handle frequencies that are not tunable due to tuning step capabilities?
>>
>>
>>
>> For instance, the radio cannot tune 450.611 so the radio refuses user entry (onboard keypad), but when 450.612 is entered the radio automatically adds 500 Hz to make 450.6125.
>>
>>
>>
>> In what functions of the software might the driver raise an exception and where might it auto-adjust a given frequency to fit an available tuning step?
>>
>>
>>
>> Thanks for the guidance,
>>
>> Brad Schuler
>>
>> K0BAS
>
> Brad,
>
> After seeing Dan's reply, this reminded me that I just did this same
> thing for the anytone.py driver. The frequency 450.6125 is stored in
> the radio as 450.612 but the radio knows to tune the correct
> frequency. Here is how I coded CHIRP to know how to show the full
> frequency.
>
> https://chirp.danplanet.com/projects/chirp/repository/revisions/3d796d647766/diff/chirp/drivers/anytone.py
>
> Jim KC9HI
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201220/52eb961f/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature-RIck-AA0RD-Image.jpg
Type: image/jpeg
Size: 18469 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201220/52eb961f/attachment-0001.jpg
More information about the chirp_devel
mailing list