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