[chirp_devel] Baofeng BF-5R = Baofeng BF-888 minus some features
Jim Unroe
Wed Oct 11 19:11:51 PDT 2023
On Wed, Oct 11, 2023 at 9:35 PM KC9MHE Eric Muehlstein via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
>
> Hi all,
>
> Now I'm playing with a Baofeng BF-5R. I can successfully clone and write to the radio with the BF-888 driver but there isn't feature parity so I'm attempting a new class for the BF-5R.
>
> I was hoping that setting the following _has_ variables to False would make them disappear from the UI but they haven't. I have the opposite problem with my BF-C50 driver where I need to add a side-tone setting to the UI.
>
> Does anyone have any pointers for me? I feel like I'm pretty close on completing drivers for the BF-5R and BF-C50. Thanks!
>
>
> @directory.register
> class BF5R(H777Radio):
> VENDOR = "Baofeng"
> MODEL = "BF-5R"
> ALIASES = []
>
> VALID_BANDS = (400000000, 470000000)
>
> _has_fm = False
> _has_sidekey = False
> _has_scanmodes = False
> _has_scramble = False
> POWER_LEVELS = [chirp_common.PowerLevel("Low", watts=3.00),
> chirp_common.PowerLevel("High", watts=5.00)]
> @classmethod
> def match_model(cls, filedata, filename):
> # This model is only ever matched via metadata
> return False
I explained some of this in my replies to the email that you sent me.
But the reply address (@arrl.org) just bounces my reply back to me.
Jim KC9HI
More information about the chirp_devel
mailing list