[chirp_devel] Baofeng BF-5R = Baofeng BF-888 minus some features

KC9MHE Eric Muehlstein
Wed Oct 11 18:35:07 PDT 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20231011/4b88c636/attachment-0001.html 


More information about the chirp_devel mailing list