Skip to content

Commit

Permalink
radtel_t18: add Retevis H777H PMR version - fixes #11775
Browse files Browse the repository at this point in the history
  • Loading branch information
KC9HI committed Jan 13, 2025
1 parent 634a468 commit 7074d69
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
15 changes: 14 additions & 1 deletion chirp/drivers/radtel_t18.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ def get_settings(self):
current_index=_settings.sidekey2L))
basic.append(rs)

if self.MODEL == "H777H_FRS":
if self.MODEL == "H777H_FRS" or self.MODEL == "H777H_PMR":
rs = RadioSetting("codesw", "Code Switch",
RadioSettingValueBoolean(_settings.codesw))
basic.append(rs)
Expand Down Expand Up @@ -1568,3 +1568,16 @@ class H777HFRSRadio(T18Radio):
_reserved = True
_frs16 = True
_pmr = False


@directory.register
class H777HPMRRadio(H777HFRSRadio):
"""Retevis H777H PMR"""
VENDOR = "Retevis"
MODEL = "H777H_PMR" # SKU: A9104K

POWER_LEVELS = [chirp_common.PowerLevel("High", watts=0.500),
chirp_common.PowerLevel("Low", watts=0.500)]

_frs16 = False
_pmr = True
3 changes: 2 additions & 1 deletion tests/py3_driver_testers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ Radtel_RT-495,@KC9HI,14-Jun-2024
Radtel_RT-630,@KC9HI,14-Jun-2024
Radtel_RT-730,@KC9HI,11-May-2024
Radtel_T18,@KC9HI,28-Nov-2022
Retevis_H777H,@KC9HI,12-Jan-2025
Retevis_H777H_FRS,@KC9HI,12-Jan-2025
Retevis_H777H_PMR,@KC9HI,12-Jan-2025
Retevis_H777S,@KC9HI,22-Dec-2022
Retevis_H777_Plus,@KC9HI,4-Dec-2022
Retevis_P2,@KC9HI,15-Jun-2024
Expand Down

0 comments on commit 7074d69

Please sign in to comment.