diff --git a/DMRNetwork.cpp b/DMRNetwork.cpp index f5ff40ae3..2e9194919 100644 --- a/DMRNetwork.cpp +++ b/DMRNetwork.cpp @@ -561,6 +561,9 @@ bool CDMRNetwork::writeConfig() case HWT_MMDVM_HS_HAT: software = "MMDVM_MMDVM_HS_Hat"; break; + case HWT_NANO_HOTSPOT: + software = "MMDVM_Nano_hotSPOT"; + break; case HWT_MMDVM_HS: software = "MMDVM_MMDVM_HS"; break; diff --git a/Defines.h b/Defines.h index ebfcd83d4..55d5fdb08 100644 --- a/Defines.h +++ b/Defines.h @@ -39,6 +39,7 @@ enum HW_TYPE { HWT_DVMEGA, HWT_MMDVM_ZUMSPOT, HWT_MMDVM_HS_HAT, + HWT_NANO_HOTSPOT, HWT_MMDVM_HS, HWT_UNKNOWN }; diff --git a/MMDVM.ini b/MMDVM.ini index 068f82926..49f6599eb 100644 --- a/MMDVM.ini +++ b/MMDVM.ini @@ -42,6 +42,7 @@ Time=24 [Modem] # Port=/dev/ttyACM0 +# Port=/dev/ttyAMA0 Port=\\.\COM3 TXInvert=1 RXInvert=0 diff --git a/Modem.cpp b/Modem.cpp index 097ec80e4..8f6c56d28 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -1022,6 +1022,8 @@ bool CModem::readVersion() m_hwType = HWT_MMDVM_ZUMSPOT; else if (::memcmp(m_buffer + 4U, "MMDVM_HS_Hat", 12U) == 0) m_hwType = HWT_MMDVM_HS_HAT; + else if (::memcmp(m_buffer + 4U, "Nano_hotSPOT", 12U) == 0) + m_hwType = HWT_NANO_HOTSPOT; else if (::memcmp(m_buffer + 4U, "MMDVM_HS-", 9U) == 0) m_hwType = HWT_MMDVM_HS;