Skip to content
Permalink
Browse files

Support for D2RG MMDVM_HS

  • Loading branch information...
juribeparada committed May 30, 2019
1 parent 99c8b23 commit 0b9c1b13629901803f8a3d63bec2695ad13c5269
Showing with 6 additions and 0 deletions.
  1. +3 −0 DMRNetwork.cpp
  2. +1 −0 Defines.h
  3. +2 −0 Modem.cpp
@@ -602,6 +602,9 @@ bool CDMRNetwork::writeConfig()
case HWT_NANO_DV:
software = "MMDVM_Nano_DV";
break;
case HWT_D2RG_MMDVM_HS:
software = "MMDVM_D2RG_MMDVM_HS";
break;
case HWT_MMDVM_HS:
software = "MMDVM_MMDVM_HS";
break;
@@ -44,6 +44,7 @@ enum HW_TYPE {
HWT_MMDVM_HS_DUAL_HAT,
HWT_NANO_HOTSPOT,
HWT_NANO_DV,
HWT_D2RG_MMDVM_HS,
HWT_MMDVM_HS,
HWT_UNKNOWN
};
@@ -1394,6 +1394,8 @@ bool CModem::readVersion()
m_hwType = HWT_NANO_HOTSPOT;
else if (::memcmp(m_buffer + 4U, "Nano_DV", 7U) == 0)
m_hwType = HWT_NANO_DV;
else if (::memcmp(m_buffer + 4U, "D2RG_MMDVM_HS", 13U) == 0)
m_hwType = HWT_D2RG_MMDVM_HS;
else if (::memcmp(m_buffer + 4U, "MMDVM_HS-", 9U) == 0)
m_hwType = HWT_MMDVM_HS;

0 comments on commit 0b9c1b1

Please sign in to comment.
You can’t perform that action at this time.