Showing preview only (9,323K chars total). Download the full file or copy to clipboard to get everything.
Repository: hmatuschek/qdmr
Branch: master
Commit: 7b4c9c19e17a
Files: 1104
Total size: 8.7 MB
Directory structure:
gitextract_3ebrfg9_/
├── .clang-format
├── .github/
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── communication-issue.md
│ │ └── decoding-issue.md
│ └── workflows/
│ ├── clang.yml
│ ├── flatpak.yml
│ └── unittests.yml
├── .gitignore
├── .gitmodules
├── BUILD.md
├── CMakeLists.txt
├── LICENSE
├── README.md
├── cli/
│ ├── CMakeLists.txt
│ ├── autodetect.cc
│ ├── autodetect.hh
│ ├── decodecodeplug.cc
│ ├── decodecodeplug.hh
│ ├── detect.cc
│ ├── detect.hh
│ ├── encodecallsigndb.cc
│ ├── encodecallsigndb.hh
│ ├── encodecodeplug.cc
│ ├── encodecodeplug.hh
│ ├── infofile.cc
│ ├── infofile.hh
│ ├── main.cc
│ ├── printprogress.cc
│ ├── printprogress.hh
│ ├── progressbar.cc
│ ├── progressbar.hh
│ ├── readcodeplug.cc
│ ├── readcodeplug.hh
│ ├── verify.cc
│ ├── verify.hh
│ ├── writecallsigndb.cc
│ ├── writecallsigndb.hh
│ ├── writecodeplug.cc
│ └── writecodeplug.hh
├── cmake/
│ ├── FindLIBUSB_1.cmake
│ ├── FindYAMLCPP.cmake
│ └── GenerateIcons.cmake
├── de.darc.dm3mat.qdmr.yaml
├── dist/
│ ├── 99-qdmr.rules
│ ├── CMakeLists.txt
│ ├── de.darc.dm3mat.qdmr.metainfo.xml
│ ├── fedora/
│ │ ├── Dockerfile
│ │ ├── docker-build.sh
│ │ └── qdmr.spec
│ ├── macosx/
│ │ ├── Info.plist
│ │ └── qdmr.icns
│ └── qdmr.desktop.in
├── doc/
│ ├── CMakeLists.txt
│ ├── code/
│ │ ├── anytone_2tonefunction.txt
│ │ ├── anytone_2toneid.txt
│ │ ├── anytone_2tonesettings.txt
│ │ ├── anytone_5tonefunction.txt
│ │ ├── anytone_5tonefunctionlist.txt
│ │ ├── anytone_5toneid.txt
│ │ ├── anytone_5toneidlist.txt
│ │ ├── anytone_5tonesettings.txt
│ │ ├── anytone_alarmsetting.txt
│ │ ├── anytone_analogalarm.txt
│ │ ├── anytone_analogquickcall.txt
│ │ ├── anytone_analogquickcalls.txt
│ │ ├── anytone_bootsettings.txt
│ │ ├── anytone_channel.txt
│ │ ├── anytone_contact.txt
│ │ ├── anytone_contactmapentry.txt
│ │ ├── anytone_digitalalarm.txt
│ │ ├── anytone_digitalalarmextension.txt
│ │ ├── anytone_dmraprssettings.txt
│ │ ├── anytone_dtmfcontact.txt
│ │ ├── anytone_dtmfidlist.txt
│ │ ├── anytone_dtmfsettings.txt
│ │ ├── anytone_generalsettings.txt
│ │ ├── anytone_grouplist.txt
│ │ ├── anytone_hotkey.txt
│ │ ├── anytone_hotkeysettings.txt
│ │ ├── anytone_message.txt
│ │ ├── anytone_messagelist.txt
│ │ ├── anytone_radioid.txt
│ │ ├── anytone_repeateroffsetfrequencies.txt
│ │ ├── anytone_scanlist.txt
│ │ ├── anytone_statusmessages.txt
│ │ ├── anytone_wfmchannellist.txt
│ │ ├── anytone_zonechannellist.txt
│ │ ├── d578uv_airbandchannel.txt
│ │ ├── d578uv_airbandchannellist.txt
│ │ ├── d578uv_aprssettingext.txt
│ │ ├── d578uv_channel.txt
│ │ ├── d578uv_generalsettings.txt
│ │ ├── d578uv_generalsettingsextension.txt
│ │ ├── d578uv_hotkeysettings.txt
│ │ ├── d868uv_callsigndbentry.txt
│ │ ├── d868uv_callsigndblimit.txt
│ │ ├── d868uv_channel.txt
│ │ ├── d868uv_generalsettings.txt
│ │ ├── d868uvanalogcontact.txt
│ │ ├── d868uvchannel.txt
│ │ ├── d868uvcontact.txt
│ │ ├── d868uvgrouplist.txt
│ │ ├── d868uvmessage.txt
│ │ ├── d868uvmessagelist.txt
│ │ ├── d868uvradioid.txt
│ │ ├── d868uvscanlist.txt
│ │ ├── d868uvzonechannels.txt
│ │ ├── d878uv_aeskey.txt
│ │ ├── d878uv_aprsrxentry.txt
│ │ ├── d878uv_aprssetting.txt
│ │ ├── d878uv_aprssettingext.txt
│ │ ├── d878uv_channel.txt
│ │ ├── d878uv_dmraprssettings.txt
│ │ ├── d878uv_dmraprssystems.txt
│ │ ├── d878uv_generalsettings.txt
│ │ ├── d878uv_generalsettingsextension.txt
│ │ ├── d878uv_gpsmessage.txt
│ │ ├── d878uv_radioinfo.txt
│ │ ├── d878uv_roamingchannel.txt
│ │ ├── d878uv_roamingzone.txt
│ │ ├── d878uvgpssetting.txt
│ │ ├── detect_example.cc
│ │ ├── dm1701_buttonsettings.txt
│ │ ├── dm1701_channel.txt
│ │ ├── dm1701_settings.txt
│ │ ├── dm1701_zoneext.txt
│ │ ├── dmr6x2uv_aprssetting.txt
│ │ ├── dmr6x2uv_channel.txt
│ │ ├── dmr6x2uv_generalsettings.txt
│ │ ├── dmr6x2uv_settingsextension.txt
│ │ ├── dr1801uv_alarmsystembankelement.txt
│ │ ├── dr1801uv_alarmsystemelement.txt
│ │ ├── dr1801uv_channelbankelement.txt
│ │ ├── dr1801uv_channelelement.txt
│ │ ├── dr1801uv_contactbankelement.txt
│ │ ├── dr1801uv_contactelement.txt
│ │ ├── dr1801uv_dmrsettingselement.txt
│ │ ├── dr1801uv_dtmfidbankelement.txt
│ │ ├── dr1801uv_dtmfidelement.txt
│ │ ├── dr1801uv_dtmfsettingselement.txt
│ │ ├── dr1801uv_dtmfsystembankelement.txt
│ │ ├── dr1801uv_dtmfsystemelement.txt
│ │ ├── dr1801uv_encryptionkeybankelement.txt
│ │ ├── dr1801uv_encryptionkeyelement.txt
│ │ ├── dr1801uv_grouplistbankelement.txt
│ │ ├── dr1801uv_grouplistelement.txt
│ │ ├── dr1801uv_keysettingselement.txt
│ │ ├── dr1801uv_messagebankelement.txt
│ │ ├── dr1801uv_messageelement.txt
│ │ ├── dr1801uv_onetouchsettingelement.txt
│ │ ├── dr1801uv_onetouchsettingselement.txt
│ │ ├── dr1801uv_pttidbankelement.txt
│ │ ├── dr1801uv_pttidelement.txt
│ │ ├── dr1801uv_scanlistbankelement.txt
│ │ ├── dr1801uv_scanlistelement.txt
│ │ ├── dr1801uv_settingselement.txt
│ │ ├── dr1801uv_vfobankelement.txt
│ │ ├── dr1801uv_zonebankelement.txt
│ │ ├── dr1801uv_zoneelement.txt
│ │ ├── gd73_channel_bank.txt
│ │ ├── gd73_channel_element.txt
│ │ ├── gd73_contact_bank.txt
│ │ ├── gd73_contact_element.txt
│ │ ├── gd73_dmr_settings_element.txt
│ │ ├── gd73_dtmf_code_element.txt
│ │ ├── gd73_dtmf_ptt_settings.txt
│ │ ├── gd73_dtmf_system_element.txt
│ │ ├── gd73_encryption_key_bank.txt
│ │ ├── gd73_encryption_key_element.txt
│ │ ├── gd73_group_list_bank.txt
│ │ ├── gd73_group_list_element.txt
│ │ ├── gd73_message_bank.txt
│ │ ├── gd73_message_element.txt
│ │ ├── gd73_one_touch_element.txt
│ │ ├── gd73_scan_list_bank.txt
│ │ ├── gd73_scan_list_element.txt
│ │ ├── gd73_settings_element.txt
│ │ ├── gd73_timestamp.txt
│ │ ├── gd73_zone_bank.txt
│ │ ├── gd73_zone_element.txt
│ │ ├── gd77_callsign_db_entry.txt
│ │ ├── gd77_callsign_db_header.txt
│ │ ├── gd77_channel.txt
│ │ ├── gd77_contact.txt
│ │ ├── gd77_grouplist.txt
│ │ ├── gd77_grouplistbank.txt
│ │ ├── gd77_scanlist.txt
│ │ ├── gd77_scanlistbank.txt
│ │ ├── md390_channel.txt
│ │ ├── md390_menusettings.txt
│ │ ├── opengd77_callsign_db_entry.txt
│ │ ├── opengd77_callsign_db_header.txt
│ │ ├── opengd77_channel.txt
│ │ ├── opengd77_contact.txt
│ │ ├── opengd77_protocol_command_clear_screen_request.txt
│ │ ├── opengd77_protocol_command_control_request.txt
│ │ ├── opengd77_protocol_command_display_text_request.txt
│ │ ├── opengd77_protocol_command_okay_response.txt
│ │ ├── opengd77_protocol_command_ping_request.txt
│ │ ├── opengd77_protocol_command_render_screen_request.txt
│ │ ├── opengd77_protocol_command_request.txt
│ │ ├── opengd77_protocol_command_show_cps_screen_request.txt
│ │ ├── opengd77_protocol_command_start_gps_request.txt
│ │ ├── opengd77_protocol_read_request.txt
│ │ ├── opengd77_protocol_read_response.txt
│ │ ├── opengd77_radio_info.txt
│ │ ├── opengd77_zone.txt
│ │ ├── opengd77_zonebank.txt
│ │ ├── openrtx_channel.txt
│ │ ├── openrtx_contact.txt
│ │ ├── openrtx_header.txt
│ │ ├── openrtx_zone.txt
│ │ ├── radioddity_bootsettings.txt
│ │ ├── radioddity_boottext.txt
│ │ ├── radioddity_buttonsettings.txt
│ │ ├── radioddity_channel.txt
│ │ ├── radioddity_channelbank.txt
│ │ ├── radioddity_contact.txt
│ │ ├── radioddity_dtmfcontact.txt
│ │ ├── radioddity_generalsettings.txt
│ │ ├── radioddity_grouplist.txt
│ │ ├── radioddity_grouplistbank.txt
│ │ ├── radioddity_menusettings.txt
│ │ ├── radioddity_messagebank.txt
│ │ ├── radioddity_privacy.txt
│ │ ├── radioddity_scanlist.txt
│ │ ├── radioddity_scanlistbank.txt
│ │ ├── radioddity_vfochannel.txt
│ │ ├── radioddity_zone.txt
│ │ ├── radioddity_zonebank.txt
│ │ ├── rd5r_channel.txt
│ │ ├── rd5r_generalsettings.txt
│ │ ├── rd5r_timestamp.txt
│ │ ├── rd5rbootsettings.txt
│ │ ├── rd5rbuttonsettings.txt
│ │ ├── rd5rcontact.txt
│ │ ├── rd5rdtmfcontact.txt
│ │ ├── rd5rgrouplist.txt
│ │ ├── rd5rgrouplisttab.txt
│ │ ├── rd5rmenusettings.txt
│ │ ├── rd5rmessagetab.txt
│ │ ├── rd5rscanlist.txt
│ │ ├── rd5rscanlisttab.txt
│ │ ├── rd5rvfosettings.txt
│ │ ├── rd5rzone.txt
│ │ ├── rd5rzonetab.txt
│ │ ├── tyt_buttonsettings.txt
│ │ ├── tyt_channel.txt
│ │ ├── tyt_contact.txt
│ │ ├── tyt_emergencysettings.txt
│ │ ├── tyt_emergencysystem.txt
│ │ ├── tyt_gpssystem.txt
│ │ ├── tyt_grouplist.txt
│ │ ├── tyt_menusettings.txt
│ │ ├── tyt_onetouchsettings.txt
│ │ ├── tyt_privacy.txt
│ │ ├── tyt_scanlist.txt
│ │ ├── tyt_settings.txt
│ │ ├── tyt_timestamp.txt
│ │ ├── tyt_zone.txt
│ │ ├── tytcallsigndbentry.txt
│ │ ├── tytcallsigndbindex.txt
│ │ ├── tytcallsigndbindexentry.txt
│ │ ├── uv390_bootsettings.txt
│ │ ├── uv390_channel.txt
│ │ ├── uv390_menusettings.txt
│ │ ├── uv390_settings.txt
│ │ ├── uv390contact.txt
│ │ ├── uv390gpssystem.txt
│ │ ├── uv390message.txt
│ │ ├── uv390rxgrouplist.txt
│ │ ├── uv390scanlist.txt
│ │ ├── uv390timestamp.txt
│ │ ├── uv390userdb.txt
│ │ ├── uv390userdbcallsign.txt
│ │ ├── uv390userdbentry.txt
│ │ ├── uv390zone.txt
│ │ └── uv390zoneext.txt
│ ├── dmr-intro/
│ │ ├── fig/
│ │ │ ├── Makefile
│ │ │ ├── fm_duplex_a.tex
│ │ │ ├── fm_duplex_b.tex
│ │ │ ├── fm_echolink_a.tex
│ │ │ ├── fm_echolink_b.tex
│ │ │ ├── fm_echolink_c.tex
│ │ │ ├── fm_simplex_a.tex
│ │ │ ├── fm_simplex_b.tex
│ │ │ ├── repeater.tex
│ │ │ ├── repeater_local.tex
│ │ │ ├── repeater_privatecall.tex
│ │ │ ├── simplex_allcall.tex
│ │ │ ├── simplex_groupcall.tex
│ │ │ ├── simplex_privatecall.tex
│ │ │ ├── talkgroup_ex1a.tex
│ │ │ ├── talkgroup_ex1b.tex
│ │ │ ├── talkgroup_ex1c.tex
│ │ │ ├── timeslot.tex
│ │ │ ├── trunk_net_ex1.tex
│ │ │ ├── trunk_net_ex2.tex
│ │ │ ├── trunk_net_ex3.tex
│ │ │ ├── trunk_net_ex4a.tex
│ │ │ └── trunk_net_ex4b.tex
│ │ ├── script/
│ │ │ ├── Makefile
│ │ │ ├── script_de.tex
│ │ │ ├── script_de_01_vorwissen.tex
│ │ │ ├── script_de_02_ursprung.tex
│ │ │ ├── script_de_03_simplex.tex
│ │ │ ├── script_de_04_lokal.tex
│ │ │ ├── script_de_05_privatecall.tex
│ │ │ ├── script_de_06_textmsg.tex
│ │ │ ├── script_de_07_talkgroup.tex
│ │ │ ├── script_de_08_aprs.tex
│ │ │ ├── script_de_09_roaming.tex
│ │ │ ├── script_de_10_netze.tex
│ │ │ ├── script_de_11_technik.tex
│ │ │ └── script_de_12_codeplug.tex
│ │ ├── talk-barcamp2021/
│ │ │ └── slides.tex
│ │ └── talk-ov2023/
│ │ └── slides.tex
│ ├── dmrconf.in.xml
│ ├── docbook_man.debian.xsl
│ ├── docbook_man.fedora.xsl
│ ├── docbook_man.macports.xsl
│ ├── docbook_man.opensuse.xsl
│ ├── fig/
│ │ └── autodetect.dot
│ ├── manual/
│ │ ├── Makefile
│ │ ├── cli/
│ │ │ ├── callsign.xml
│ │ │ ├── codeplug.xml
│ │ │ ├── commandline.xml
│ │ │ ├── dangerzone.xml
│ │ │ └── various.xml
│ │ ├── codeplug/
│ │ │ ├── anytone/
│ │ │ │ ├── aprs.xml
│ │ │ │ ├── channel.xml
│ │ │ │ ├── contact.xml
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── settings.xml
│ │ │ │ └── zone.xml
│ │ │ ├── aprs.xml
│ │ │ ├── channels.xml
│ │ │ ├── commercial/
│ │ │ │ ├── channel.xml
│ │ │ │ ├── encryption.xml
│ │ │ │ └── extensions.xml
│ │ │ ├── contacts.xml
│ │ │ ├── extensions.xml
│ │ │ ├── format.xml
│ │ │ ├── grouplists.xml
│ │ │ ├── opengd77/
│ │ │ │ ├── channel.xml
│ │ │ │ ├── contact.xml
│ │ │ │ └── extensions.xml
│ │ │ ├── radioddity/
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── generalradiosettings.xml
│ │ │ │ ├── radiobootsettings.xml
│ │ │ │ ├── radiobuttonsettings.xml
│ │ │ │ ├── radiosettings.xml
│ │ │ │ └── radiotonesettings.xml
│ │ │ ├── radioids.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── scanlists.xml
│ │ │ ├── smsextension.xml
│ │ │ ├── tyt/
│ │ │ │ ├── buttonsettings.xml
│ │ │ │ ├── channel.xml
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── menusettings.xml
│ │ │ │ ├── radiosettings.xml
│ │ │ │ └── scanlist.xml
│ │ │ └── zones.xml
│ │ ├── conf/
│ │ │ ├── analogchannels.xml
│ │ │ ├── aprssystems.xml
│ │ │ ├── contacts.xml
│ │ │ ├── digitalchannels.xml
│ │ │ ├── format.xml
│ │ │ ├── gpssystems.xml
│ │ │ ├── grouplists.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── scanlists.xml
│ │ │ └── zones.xml
│ │ ├── epub/
│ │ │ └── Makefile
│ │ ├── gui/
│ │ │ ├── aprs.xml
│ │ │ ├── channels.xml
│ │ │ ├── contacts.xml
│ │ │ ├── extensions.xml
│ │ │ ├── fig/
│ │ │ │ └── Makefile
│ │ │ ├── grouplists.xml
│ │ │ ├── gui.xml
│ │ │ ├── programradio.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── satellite.xml
│ │ │ ├── scanlists.xml
│ │ │ ├── settingsdialog.xml
│ │ │ └── zones.xml
│ │ ├── html/
│ │ │ ├── Makefile
│ │ │ ├── dm3mat.darc.de_manual.xsl
│ │ │ └── manual.css
│ │ ├── intro/
│ │ │ ├── codeplug.xml
│ │ │ ├── fig/
│ │ │ │ ├── Makefile
│ │ │ │ ├── fm_duplex_a.tex
│ │ │ │ ├── fm_duplex_b.tex
│ │ │ │ ├── fm_echolink_a.tex
│ │ │ │ ├── fm_echolink_b.tex
│ │ │ │ ├── fm_echolink_c.tex
│ │ │ │ ├── fm_simplex_a.tex
│ │ │ │ ├── fm_simplex_b.tex
│ │ │ │ ├── repeater.tex
│ │ │ │ ├── repeater_local.tex
│ │ │ │ ├── repeater_privatecall.tex
│ │ │ │ ├── simplex_allcall.tex
│ │ │ │ ├── simplex_groupcall.tex
│ │ │ │ ├── simplex_privatecall.tex
│ │ │ │ ├── talkgroup_ex1a.tex
│ │ │ │ ├── talkgroup_ex1b.tex
│ │ │ │ ├── talkgroup_ex1c.tex
│ │ │ │ ├── timeslot.tex
│ │ │ │ ├── trunk_net_ex1.tex
│ │ │ │ ├── trunk_net_ex2.tex
│ │ │ │ ├── trunk_net_ex3.tex
│ │ │ │ ├── trunk_net_ex4a.tex
│ │ │ │ └── trunk_net_ex4b.tex
│ │ │ ├── foreknowledge.xml
│ │ │ ├── introduction.xml
│ │ │ ├── local.xml
│ │ │ ├── networks.xml
│ │ │ ├── origin.xml
│ │ │ ├── private.xml
│ │ │ ├── roaming.xml
│ │ │ ├── simplex.xml
│ │ │ ├── talkgroup.xml
│ │ │ ├── technicalbackground.xml
│ │ │ └── textmessages.xml
│ │ ├── manual.code-workspace
│ │ ├── manual.xml
│ │ ├── manual_fo.debian.xsl
│ │ ├── meta/
│ │ │ ├── abstract.xml
│ │ │ ├── authors.xml
│ │ │ ├── glossary.xml
│ │ │ └── preface.xml
│ │ └── reveng/
│ │ ├── codeplug.xml
│ │ ├── protocol.xml
│ │ └── reverseengineering.xml
│ ├── qdmr.in.xml
│ └── reveng/
│ ├── README.md
│ ├── anytone/
│ │ ├── README.md
│ │ ├── d578uv/
│ │ │ └── at_d578uv_emulator.py
│ │ ├── d868uve/
│ │ │ └── at_d868uv_emulator.py
│ │ ├── d878uv/
│ │ │ ├── README.md
│ │ │ ├── capture_base.pcapng
│ │ │ ├── capture_set_gps_on.pcapng
│ │ │ ├── cpsfileformat.md
│ │ │ ├── d878uv_base.hex
│ │ │ ├── d878uv_set_gps_on.hex
│ │ │ └── extract.py
│ │ └── d878uv2/
│ │ └── at_d878uv2_emulator.py
│ ├── baofeng/
│ │ ├── d6x2uv/
│ │ │ └── dmr_6x2uv_emulator.py
│ │ └── dr1801/
│ │ ├── extract.py
│ │ └── protocol.md
│ ├── cotre/
│ │ ├── README.md
│ │ └── extract.py
│ ├── gd77/
│ │ ├── callsign-db.md
│ │ └── dump.py
│ ├── pinspect/
│ │ ├── __init__.py
│ │ ├── auctus_a6.py
│ │ ├── cdcacmfilter.py
│ │ ├── datagram.py
│ │ ├── devicefilter.py
│ │ ├── packethandler.py
│ │ ├── rawstreamdump.py
│ │ ├── streamhandler.py
│ │ └── utilities.py
│ ├── radioddity/
│ │ └── gd73/
│ │ ├── README.md
│ │ ├── extract.py
│ │ └── protocol.md
│ └── retevis/
│ └── rt84/
│ └── extract.py
├── examples/
│ ├── BER AirBand.yaml
│ ├── kw.conf
│ ├── kw.yaml
│ ├── minimal.conf
│ ├── minimal.yaml
│ ├── pmr.yaml
│ ├── potsdam.yaml
│ └── sat.yaml
├── i18n/
│ ├── Makefile
│ ├── de.ts
│ ├── en_US.ts
│ ├── fr.ts
│ ├── it.ts
│ ├── nl.ts
│ ├── pl.ts
│ ├── pt_BR.ts
│ ├── ru.ts
│ └── sv.ts
├── lib/
│ ├── CMakeLists.txt
│ ├── addressmap.cc
│ ├── addressmap.hh
│ ├── anytone_codeplug.cc
│ ├── anytone_codeplug.hh
│ ├── anytone_extension.cc
│ ├── anytone_extension.hh
│ ├── anytone_filereader.cc
│ ├── anytone_filereader.hh
│ ├── anytone_interface.cc
│ ├── anytone_interface.hh
│ ├── anytone_limits.cc
│ ├── anytone_limits.hh
│ ├── anytone_radio.cc
│ ├── anytone_radio.hh
│ ├── anytone_satelliteconfig.cc
│ ├── anytone_satelliteconfig.hh
│ ├── anytone_settingsextension.cc
│ ├── anytone_settingsextension.hh
│ ├── auctus_a6_interface.cc
│ ├── auctus_a6_interface.hh
│ ├── audiosettings.cc
│ ├── audiosettings.hh
│ ├── bootsettings.cc
│ ├── bootsettings.hh
│ ├── c7000device.cc
│ ├── c7000device.hh
│ ├── callsigndb.cc
│ ├── callsigndb.hh
│ ├── channel.cc
│ ├── channel.hh
│ ├── channel_extension.cc
│ ├── channel_extension.hh
│ ├── chirpformat.cc
│ ├── chirpformat.hh
│ ├── codeplug.cc
│ ├── codeplug.hh
│ ├── commercial_extension.cc
│ ├── commercial_extension.hh
│ ├── config.cc
│ ├── config.h.in
│ ├── config.hh
│ ├── configcopyvisitor.cc
│ ├── configcopyvisitor.hh
│ ├── configlabelingvisitor.cc
│ ├── configlabelingvisitor.hh
│ ├── configmergevisitor.cc
│ ├── configmergevisitor.hh
│ ├── configobject.cc
│ ├── configobject.hh
│ ├── configreference.cc
│ ├── configreference.hh
│ ├── contact.cc
│ ├── contact.hh
│ ├── crc32.cc
│ ├── crc32.hh
│ ├── csvreader.cc
│ ├── csvreader.hh
│ ├── d168uv.cc
│ ├── d168uv.hh
│ ├── d168uv_codeplug.cc
│ ├── d168uv_codeplug.hh
│ ├── d168uv_limits.cc
│ ├── d168uv_limits.hh
│ ├── d168uv_satelliteconfig.cc
│ ├── d168uv_satelliteconfig.hh
│ ├── d578uv.cc
│ ├── d578uv.hh
│ ├── d578uv_codeplug.cc
│ ├── d578uv_codeplug.hh
│ ├── d578uv_limits.cc
│ ├── d578uv_limits.hh
│ ├── d868uv.cc
│ ├── d868uv.hh
│ ├── d868uv_callsigndb.cc
│ ├── d868uv_callsigndb.hh
│ ├── d868uv_codeplug.cc
│ ├── d868uv_codeplug.hh
│ ├── d868uv_filereader.cc
│ ├── d868uv_filereader.hh
│ ├── d868uv_limits.cc
│ ├── d868uv_limits.hh
│ ├── d878uv.cc
│ ├── d878uv.hh
│ ├── d878uv2.cc
│ ├── d878uv2.hh
│ ├── d878uv2_callsigndb.cc
│ ├── d878uv2_callsigndb.hh
│ ├── d878uv2_codeplug.cc
│ ├── d878uv2_codeplug.hh
│ ├── d878uv2_limits.cc
│ ├── d878uv2_limits.hh
│ ├── d878uv_codeplug.cc
│ ├── d878uv_codeplug.hh
│ ├── d878uv_filereader.cc
│ ├── d878uv_filereader.hh
│ ├── d878uv_limits.cc
│ ├── d878uv_limits.hh
│ ├── dfu_libusb.cc
│ ├── dfu_libusb.hh
│ ├── dfufile.cc
│ ├── dfufile.hh
│ ├── dm1701.cc
│ ├── dm1701.hh
│ ├── dm1701_callsigndb.cc
│ ├── dm1701_callsigndb.hh
│ ├── dm1701_codeplug.cc
│ ├── dm1701_codeplug.hh
│ ├── dm1701_filereader.cc
│ ├── dm1701_filereader.hh
│ ├── dm1701_limits.cc
│ ├── dm1701_limits.hh
│ ├── dm32uv.cc
│ ├── dm32uv.hh
│ ├── dm32uv_callsigndb.cc
│ ├── dm32uv_callsigndb.hh
│ ├── dm32uv_codeplug.cc
│ ├── dm32uv_codeplug.hh
│ ├── dm32uv_interface.cc
│ ├── dm32uv_interface.hh
│ ├── dm32uv_limits.cc
│ ├── dm32uv_limits.hh
│ ├── dmr6x2uv.cc
│ ├── dmr6x2uv.hh
│ ├── dmr6x2uv2.cc
│ ├── dmr6x2uv2.hh
│ ├── dmr6x2uv2_codeplug.cc
│ ├── dmr6x2uv2_codeplug.hh
│ ├── dmr6x2uv2_limits.cc
│ ├── dmr6x2uv2_limits.hh
│ ├── dmr6x2uv_codeplug.cc
│ ├── dmr6x2uv_codeplug.hh
│ ├── dmr6x2uv_limits.cc
│ ├── dmr6x2uv_limits.hh
│ ├── dmrsettings.cc
│ ├── dmrsettings.hh
│ ├── dr1801uv.cc
│ ├── dr1801uv.hh
│ ├── dr1801uv_codeplug.cc
│ ├── dr1801uv_codeplug.hh
│ ├── dr1801uv_filereader.cc
│ ├── dr1801uv_filereader.hh
│ ├── dr1801uv_interface.cc
│ ├── dr1801uv_interface.hh
│ ├── dr1801uv_limits.cc
│ ├── dr1801uv_limits.hh
│ ├── dummyfilereader.cc
│ ├── dummyfilereader.hh
│ ├── encryptionextension.cc
│ ├── encryptionextension.hh
│ ├── errorstack.cc
│ ├── errorstack.hh
│ ├── frequency.cc
│ ├── frequency.hh
│ ├── gd73.cc
│ ├── gd73.hh
│ ├── gd73_codeplug.cc
│ ├── gd73_codeplug.hh
│ ├── gd73_filereader.cc
│ ├── gd73_filereader.hh
│ ├── gd73_interface.cc
│ ├── gd73_interface.hh
│ ├── gd73_limits.cc
│ ├── gd73_limits.hh
│ ├── gd77.cc
│ ├── gd77.hh
│ ├── gd77_callsigndb.cc
│ ├── gd77_callsigndb.hh
│ ├── gd77_codeplug.cc
│ ├── gd77_codeplug.hh
│ ├── gd77_filereader.cc
│ ├── gd77_filereader.hh
│ ├── gd77_limits.cc
│ ├── gd77_limits.hh
│ ├── gnsssettings.cc
│ ├── gnsssettings.hh
│ ├── gpssystem.cc
│ ├── gpssystem.hh
│ ├── hid_libusb.cc
│ ├── hid_libusb.hh
│ ├── hid_macos.cc
│ ├── hid_macos.hh
│ ├── intermediaterepresentation.cc
│ ├── intermediaterepresentation.hh
│ ├── interval.cc
│ ├── interval.hh
│ ├── level.cc
│ ├── level.hh
│ ├── libdmrconf.hh
│ ├── logger.cc
│ ├── logger.hh
│ ├── md2017.cc
│ ├── md2017.hh
│ ├── md2017_callsigndb.cc
│ ├── md2017_callsigndb.hh
│ ├── md2017_codeplug.cc
│ ├── md2017_codeplug.hh
│ ├── md2017_filereader.cc
│ ├── md2017_filereader.hh
│ ├── md2017_limits.cc
│ ├── md2017_limits.hh
│ ├── md390.cc
│ ├── md390.hh
│ ├── md390_codeplug.cc
│ ├── md390_codeplug.hh
│ ├── md390_filereader.cc
│ ├── md390_filereader.hh
│ ├── md390_limits.cc
│ ├── md390_limits.hh
│ ├── melody.cc
│ ├── melody.hh
│ ├── melody_stream.cc
│ ├── melody_stream.hh
│ ├── opengd77.cc
│ ├── opengd77.hh
│ ├── opengd77_callsigndb.cc
│ ├── opengd77_callsigndb.hh
│ ├── opengd77_codeplug.cc
│ ├── opengd77_codeplug.hh
│ ├── opengd77_extension.cc
│ ├── opengd77_extension.hh
│ ├── opengd77_interface.cc
│ ├── opengd77_interface.hh
│ ├── opengd77_limits.cc
│ ├── opengd77_limits.hh
│ ├── opengd77_satelliteconfig.cc
│ ├── opengd77_satelliteconfig.hh
│ ├── opengd77base.cc
│ ├── opengd77base.hh
│ ├── opengd77base_callsigndb.cc
│ ├── opengd77base_callsigndb.hh
│ ├── opengd77base_codeplug.cc
│ ├── opengd77base_codeplug.hh
│ ├── opengd77base_satelliteconfig.cc
│ ├── opengd77base_satelliteconfig.hh
│ ├── openrtx.cc
│ ├── openrtx.hh
│ ├── openrtx_codeplug.cc
│ ├── openrtx_codeplug.hh
│ ├── openrtx_interface.cc
│ ├── openrtx_interface.hh
│ ├── openrtx_link.cc
│ ├── openrtx_link.hh
│ ├── openuv380.cc
│ ├── openuv380.hh
│ ├── openuv380_callsigndb.cc
│ ├── openuv380_callsigndb.hh
│ ├── openuv380_codeplug.cc
│ ├── openuv380_codeplug.hh
│ ├── openuv380_satelliteconfig.cc
│ ├── openuv380_satelliteconfig.hh
│ ├── orbitalelementsdatabase.cc
│ ├── orbitalelementsdatabase.hh
│ ├── packetstream.cc
│ ├── packetstream.hh
│ ├── radio.cc
│ ├── radio.hh
│ ├── radioddity_codeplug.cc
│ ├── radioddity_codeplug.hh
│ ├── radioddity_extensions.cc
│ ├── radioddity_extensions.hh
│ ├── radioddity_interface.cc
│ ├── radioddity_interface.hh
│ ├── radioddity_radio.cc
│ ├── radioddity_radio.hh
│ ├── radioid.cc
│ ├── radioid.hh
│ ├── radioinfo.cc
│ ├── radioinfo.hh
│ ├── radiointerface.cc
│ ├── radiointerface.hh
│ ├── radiolimits.cc
│ ├── radiolimits.hh
│ ├── radiosettings.cc
│ ├── radiosettings.hh
│ ├── ranges.cc
│ ├── ranges.hh
│ ├── rd5r.cc
│ ├── rd5r.hh
│ ├── rd5r_codeplug.cc
│ ├── rd5r_codeplug.hh
│ ├── rd5r_filereader.cc
│ ├── rd5r_filereader.hh
│ ├── rd5r_limits.cc
│ ├── rd5r_limits.hh
│ ├── roamingchannel.cc
│ ├── roamingchannel.hh
│ ├── roamingzone.cc
│ ├── roamingzone.hh
│ ├── rxgrouplist.cc
│ ├── rxgrouplist.hh
│ ├── satelliteconfig.cc
│ ├── satelliteconfig.hh
│ ├── satellitedatabase.cc
│ ├── satellitedatabase.hh
│ ├── scanlist.cc
│ ├── scanlist.hh
│ ├── signaling.cc
│ ├── signaling.hh
│ ├── smsextension.cc
│ ├── smsextension.hh
│ ├── talkgroupdatabase.cc
│ ├── talkgroupdatabase.hh
│ ├── tonesettings.cc
│ ├── tonesettings.hh
│ ├── transferflags.cc
│ ├── transferflags.hh
│ ├── transponderdatabase.cc
│ ├── transponderdatabase.hh
│ ├── tyt_callsigndb.cc
│ ├── tyt_callsigndb.hh
│ ├── tyt_codeplug.cc
│ ├── tyt_codeplug.hh
│ ├── tyt_extensions.cc
│ ├── tyt_extensions.hh
│ ├── tyt_interface.cc
│ ├── tyt_interface.hh
│ ├── tyt_radio.cc
│ ├── tyt_radio.hh
│ ├── usbdevice.cc
│ ├── usbdevice.hh
│ ├── usbserial.cc
│ ├── usbserial.hh
│ ├── userdatabase.cc
│ ├── userdatabase.hh
│ ├── utils.cc
│ ├── utils.hh
│ ├── uv390.cc
│ ├── uv390.hh
│ ├── uv390_callsigndb.cc
│ ├── uv390_callsigndb.hh
│ ├── uv390_codeplug.cc
│ ├── uv390_codeplug.hh
│ ├── uv390_filereader.cc
│ ├── uv390_filereader.hh
│ ├── uv390_limits.cc
│ ├── uv390_limits.hh
│ ├── visitor.cc
│ ├── visitor.hh
│ ├── xmodem.cc
│ ├── xmodem.hh
│ ├── zone.cc
│ └── zone.hh
├── shared/
│ ├── icons/
│ │ ├── dark/
│ │ │ └── index.theme
│ │ └── light/
│ │ └── index.theme
│ ├── resources.qrc
│ └── ui/
│ └── aboutdialog.ui
├── src/
│ ├── CMakeLists.txt
│ ├── aboutdialog.ui
│ ├── admitselect.cc
│ ├── admitselect.hh
│ ├── amchanneldialog.cc
│ ├── amchanneldialog.hh
│ ├── application.cc
│ ├── application.hh
│ ├── aprsselect.cc
│ ├── aprsselect.hh
│ ├── aprssystemdialog.cc
│ ├── aprssystemdialog.hh
│ ├── aprssystemdialog.ui
│ ├── bandwidthselect.cc
│ ├── bandwidthselect.hh
│ ├── channel_type_edit.cc
│ ├── channel_type_edit.hh
│ ├── channelcombobox.cc
│ ├── channelcombobox.hh
│ ├── channeldialog.cc
│ ├── channeldialog.hh
│ ├── channeldialog.ui
│ ├── channellistview.cc
│ ├── channellistview.hh
│ ├── channellistview.ui
│ ├── channelselectiondialog.cc
│ ├── channelselectiondialog.hh
│ ├── channelvalidator.cc
│ ├── channelvalidator.hh
│ ├── collapsablewidget.cc
│ ├── collapsablewidget.hh
│ ├── configitemwrapper.cc
│ ├── configitemwrapper.hh
│ ├── configmergedialog.cc
│ ├── configmergedialog.hh
│ ├── configmergedialog.ui
│ ├── configobjectlistview.cc
│ ├── configobjectlistview.hh
│ ├── configobjectlistview.ui
│ ├── configobjecttableview.cc
│ ├── configobjecttableview.hh
│ ├── configobjecttableview.ui
│ ├── configobjecttypeselectiondialog.cc
│ ├── configobjecttypeselectiondialog.hh
│ ├── configobjecttypeselectiondialog.ui
│ ├── contactlistview.cc
│ ├── contactlistview.hh
│ ├── contactlistview.ui
│ ├── contactselectiondialog.cc
│ ├── contactselectiondialog.hh
│ ├── deviceselectiondialog.cc
│ ├── deviceselectiondialog.hh
│ ├── deviceselectiondialog.ui
│ ├── dmrchanneldialog.cc
│ ├── dmrchanneldialog.hh
│ ├── dmrcontactdialog.cc
│ ├── dmrcontactdialog.hh
│ ├── dmrcontactdialog.ui
│ ├── dmriddialog.cc
│ ├── dmriddialog.hh
│ ├── dmriddialog.ui
│ ├── dtmfcontactdialog.cc
│ ├── dtmfcontactdialog.hh
│ ├── dtmfcontactdialog.ui
│ ├── errormessageview.cc
│ ├── errormessageview.hh
│ ├── errormessageview.ui
│ ├── extensionview.cc
│ ├── extensionview.hh
│ ├── extensionview.ui
│ ├── extensionwrapper.cc
│ ├── extensionwrapper.hh
│ ├── flageditdialog.cc
│ ├── flageditdialog.hh
│ ├── flageditdialog.ui
│ ├── fmchanneldialog.cc
│ ├── fmchanneldialog.hh
│ ├── generalsettingsview.cc
│ ├── generalsettingsview.hh
│ ├── generalsettingsview.ui
│ ├── gpssystemdialog.cc
│ ├── gpssystemdialog.hh
│ ├── gpssystemdialog.ui
│ ├── grouplistsview.cc
│ ├── grouplistsview.hh
│ ├── grouplistsview.ui
│ ├── hearhamrepeatersource.cc
│ ├── hearhamrepeatersource.hh
│ ├── idselect.cc
│ ├── idselect.hh
│ ├── m17channeldialog.cc
│ ├── m17channeldialog.hh
│ ├── m17contactdialog.cc
│ ├── m17contactdialog.hh
│ ├── m17contactdialog.ui
│ ├── main.cc
│ ├── mainwindow.cc
│ ├── mainwindow.hh
│ ├── mainwindow.ui
│ ├── melody_edit.cc
│ ├── melody_edit.hh
│ ├── melody_player.cc
│ ├── melody_player.hh
│ ├── positioningsystemlistview.cc
│ ├── positioningsystemlistview.hh
│ ├── positioningsystemlistview.ui
│ ├── propertydelegate.cc
│ ├── propertydelegate.hh
│ ├── radioidlistview.cc
│ ├── radioidlistview.hh
│ ├── radioidlistview.ui
│ ├── radioidrepeatersource.cc
│ ├── radioidrepeatersource.hh
│ ├── radioselectiondialog.cc
│ ├── radioselectiondialog.hh
│ ├── radioselectiondialog.ui
│ ├── releasenotes.cc
│ ├── releasenotes.hh
│ ├── repeaterbooksource.cc
│ ├── repeaterbooksource.hh
│ ├── repeatercompleter.cc
│ ├── repeatercompleter.hh
│ ├── repeaterdatabase.cc
│ ├── repeaterdatabase.hh
│ ├── repeatermapsource.cc
│ ├── repeatermapsource.hh
│ ├── roamingchanneldialog.cc
│ ├── roamingchanneldialog.hh
│ ├── roamingchanneldialog.ui
│ ├── roamingchannellistview.cc
│ ├── roamingchannellistview.hh
│ ├── roamingchannellistview.ui
│ ├── roamingchannelselectiondialog.cc
│ ├── roamingchannelselectiondialog.hh
│ ├── roamingzonedialog.cc
│ ├── roamingzonedialog.hh
│ ├── roamingzonedialog.ui
│ ├── roamingzonelistview.cc
│ ├── roamingzonelistview.hh
│ ├── roamingzonelistview.ui
│ ├── rxgrouplistdialog.cc
│ ├── rxgrouplistdialog.hh
│ ├── rxgrouplistdialog.ui
│ ├── satellitedatabasedialog.cc
│ ├── satellitedatabasedialog.hh
│ ├── satellitedatabasedialog.ui
│ ├── satelliteselectiondialog.cc
│ ├── satelliteselectiondialog.hh
│ ├── satelliteselectiondialog.ui
│ ├── satellitetransponderdialog.cc
│ ├── satellitetransponderdialog.hh
│ ├── satellitetransponderdialog.ui
│ ├── scanlistdialog.cc
│ ├── scanlistdialog.hh
│ ├── scanlistdialog.ui
│ ├── scanlistsview.cc
│ ├── scanlistsview.hh
│ ├── scanlistsview.ui
│ ├── searchpopup.cc
│ ├── searchpopup.hh
│ ├── selectivecallbox.cc
│ ├── selectivecallbox.hh
│ ├── settings.cc
│ ├── settings.hh
│ ├── settingsdialog.ui
│ ├── squelchedit.cc
│ ├── squelchedit.hh
│ ├── squelchedit.ui
│ ├── timeslotselect.cc
│ ├── timeslotselect.hh
│ ├── transponderfrequencydelegate.cc
│ ├── transponderfrequencydelegate.hh
│ ├── verifydialog.cc
│ ├── verifydialog.hh
│ ├── verifydialog.ui
│ ├── zonedialog.cc
│ ├── zonedialog.hh
│ ├── zonedialog.ui
│ ├── zonelistview.cc
│ ├── zonelistview.hh
│ └── zonelistview.ui
└── test/
├── CMakeLists.txt
├── chirptest.cc
├── chirptest.hh
├── configtest.cc
├── configtest.hh
├── copytest.cc
├── copytest.hh
├── crc32test.cc
├── crc32test.hh
├── d168uv_test.cc
├── d168uv_test.hh
├── d578uv_test.cc
├── d578uv_test.hh
├── d868uve_test.cc
├── d868uve_test.hh
├── d878uv2_test.cc
├── d878uv2_test.hh
├── d878uv_test.cc
├── d878uv_test.hh
├── data/
│ ├── aes_encryption.yaml
│ ├── am_channel_test.yaml
│ ├── anytone_auto_repeater_extension.yaml
│ ├── anytone_call_hangtime.yaml
│ ├── anytone_channel_data_ack.yaml
│ ├── anytone_key_function.yaml
│ ├── anytone_settings_display.yaml
│ ├── anytone_settings_roaming.yaml
│ ├── arc4_encryption.yaml
│ ├── audio_settings_extension.yaml
│ ├── basic_encryption.yaml
│ ├── channel_frequency_test.yaml
│ ├── chirp_bandwidth.csv
│ ├── chirp_cross.csv
│ ├── chirp_ctcss.csv
│ ├── chirp_dcs.csv
│ ├── chirp_simple.csv
│ ├── config_test.yaml
│ ├── ctcss_copy_test.yaml
│ ├── ctcss_null_test.yaml
│ ├── dtmf_contact.yaml
│ ├── fm_aprs_test.yaml
│ ├── multiple_radio_ids.yaml
│ ├── opengd77_boot_melody.yaml
│ ├── opengd77_simple_config.yaml
│ └── roaming_channel_test.yaml
├── dm1701_test.cc
├── dm1701_test.hh
├── dm32uv_test.cc
├── dm32uv_test.hh
├── dmr6x2uv2_test.cc
├── dmr6x2uv2_test.hh
├── dmr6x2uv_test.cc
├── dmr6x2uv_test.hh
├── dr1801_test.cc
├── dr1801_test.hh
├── gd73_test.cc
├── gd73_test.hh
├── gd77_test.cc
├── gd77_test.hh
├── labeltest.cc
├── labeltest.hh
├── libdmrconfigtest.cc
├── libdmrconfigtest.hh
├── md2017_test.cc
├── md2017_test.hh
├── md390_test.cc
├── md390_test.hh
├── mergetest.cc
├── mergetest.hh
├── opengd77_test.cc
├── opengd77_test.hh
├── openuv380_test.cc
├── openuv380_test.hh
├── rd5r_test.cc
├── rd5r_test.hh
├── resources.qrc
├── smstemplatetest.cc
├── smstemplatetest.hh
├── tableformattest.cc
├── tableformattest.hh
├── trafotest.cc
├── trafotest.hh
├── utilstest.cc
├── utilstest.hh
├── uv390_test.cc
└── uv390_test.hh
================================================
FILE CONTENTS
================================================
================================================
FILE: .clang-format
================================================
# yaml-language-server: $schema=https://json.schemastore.org/clang-format.json
---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: DontAlign
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
BinPackArguments: false
BinPackParameters: false
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: AllDefinitions
BreakArrays: true
BreakBeforeBinaryOperators: All
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Custom
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: Yes
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- forever
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<Q.*'
Priority: 200
SortPriority: 200
CaseSensitive: true
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 150
PenaltyBreakBeforeFirstCallParameter: 300
PenaltyBreakComment: 500
PenaltyBreakFirstLessLess: 400
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 600
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 50
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 300
PointerAlignment: Right
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: false
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: Lexicographic
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
- emit
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
- Q_CLASSINFO
- Q_ENUM
- Q_ENUM_NS
- Q_FLAG
- Q_FLAG_NS
- Q_GADGET
- Q_GADGET_EXPORT
- Q_INTERFACES
- Q_LOGGING_CATEGORY
- Q_MOC_INCLUDE
- Q_NAMESPACE
- Q_NAMESPACE_EXPORT
- Q_OBJECT
- Q_PROPERTY
- Q_REVISION
- Q_DISABLE_COPY
- Q_SET_OBJECT_NAME
- QT_BEGIN_NAMESPACE
- QT_END_NAMESPACE
- QML_ADDED_IN_MINOR_VERSION
- QML_ANONYMOUS
- QML_ATTACHED
- QML_DECLARE_TYPE
- QML_DECLARE_TYPEINFO
- QML_ELEMENT
- QML_EXTENDED
- QML_EXTENDED_NAMESPACE
- QML_EXTRA_VERSION
- QML_FOREIGN
- QML_FOREIGN_NAMESPACE
- QML_IMPLEMENTS_INTERFACES
- QML_INTERFACE
- QML_NAMED_ELEMENT
- QML_REMOVED_IN_MINOR_VERSION
- QML_SINGLETON
- QML_UNAVAILABLE
- QML_UNCREATABLE
- QML_VALUE_TYPE
#TableGenBreakInsideDAGArg: DontBreak
TabWidth: 2
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
...
================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: ['https://paypal.me/dm3mat'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
================================================
FILE: .github/ISSUE_TEMPLATE/communication-issue.md
================================================
---
name: Communication issue
about: If qdmr/dmrconf fails to detect a device
title: ''
labels: bug
assignees: ''
---
If you cannot detect or read a device, please include your report
- [ ] Model name and firmware version
- [ ] qdmr version and source (e.g., self-build or installed as a package).
- [ ] Output of `groups`
- [ ] Output of `lsusb` or output of `dmesg` after plugging the device in.
- [ ] Output of `dmrconf --verbose detect`
================================================
FILE: .github/ISSUE_TEMPLATE/decoding-issue.md
================================================
---
name: Decoding issue
about: If qdmr fails to read/decode a codeplug from a device.
title: ''
labels: bug
assignees: ''
---
First, check if qdmr/dmrconf can read the device. That is, read the binary codeplug one the command-line using
```
> dmrcond read --verbose DEVICE_codeplug.dfu
```
If this succeeds, qdmr/dmrconf can talk to the device just fine. To help with identifying the decoding issue, consider adding this binary codeplug to the issue. You may need to zip it first.
Also report your qdmr version, the device firmware version and the output of
```
> dmrconf decode --verbose --radio=YOUR_DEVICE DFU_FILE_NAME decoded.yaml
```
================================================
FILE: .github/workflows/clang.yml
================================================
name: build-linux-clang-14
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
CC: /usr/bin/clang-14
CXX: /usr/bin/clang++-14
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update APT
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install clang-14 qt6-tools-dev qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-positioning-dev qt6-multimedia-dev libusb-1.0-0-dev libyaml-cpp-dev librsvg2-bin
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
================================================
FILE: .github/workflows/flatpak.yml
================================================
on:
release:
types: [published]
name: Flatpak
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: qdmr.flatpak
manifest-path: de.darc.dm3mat.qdmr.yaml
cache-key: flatpak-builder-${{ github.sha }}
- name: upload linux artifact
uses: softprops/action-gh-release@v1
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: qdmr-x86_64.flatpak.zip
================================================
FILE: .github/workflows/unittests.yml
================================================
name: unittest-linux-gcc
on:
push:
branches: [ "master", "devel" ]
pull_request:
branches: [ "master", "devel" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update APT
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install qt6-tools-dev qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-positioning-dev qt6-multimedia-dev libusb-1.0-0-dev libyaml-cpp-dev librsvg2-bin
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=On
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}}
================================================
FILE: .gitignore
================================================
/doc/html/
/doc/latex/
/doc/reveng/cotre/*.pcapng.gz
/doc/reveng/gd77/*.pcapng.gz
/doc/manual/manual.pdf
/doc/manual/manual_combined.xml
/doc/manual/intro/fig/*.aux
/doc/manual/intro/fig/*.log
/doc/manual/intro/fig/*.png
/doc/manual/html/*.html
/doc/manual/html/manual.xml
/doc/manual/html/docbook.css
/doc/manual/html/fig
/parts/
/prime/
/snap/
/stage/
CMakeLists.txt.user
/build/
================================================
FILE: .gitmodules
================================================
================================================
FILE: BUILD.md
================================================
# Building `qdmr`
## Overview
`qdmr` is a Qt6-based application. This document provides instructions to build the project and details the required dependencies for Ubuntu/Debian, Fedora, Arch Linux, and macOS (with Homebrew).
---
## Dependencies
The following dependencies are required:
- `qt6-base-dev`
- `qt6-tools-dev`
- `qt6-tools-dev-tools`
- `qt6-positioning-dev`
- `qt6-serialport-dev`
- `qt6-multimedia-dev`
- `libyaml-cpp-dev`
- `librsvg2-bin`
- `libusb-1.0-0-dev`
Equivalent packages are listed for Fedora, Arch Linux, and macOS.
---
## 1. Ubuntu / Debian
### **Install Dependencies**
```sh
sudo apt update
sudo apt install -y \
qt6-base-dev qt6-tools-dev qt6-tools-dev-tools \
qt6-positioning-dev qt6-serialport-dev qt6-multimedia-dev \
libyaml-cpp-dev librsvg2-bin libusb-1.0-0-dev \
build-essential cmake git
```
---
## 2. Fedora
### **Install Dependencies**
```sh
sudo dnf install -y \
qt6-qtbase-devel qt6-qttools-devel qt6-qtpositioning-devel qt6-qtserialport-devel qt6-multimedia-devel\
yaml-cpp-devel librsvg2-tools libusb1-devel \
make gcc-c++ cmake git
```
---
## 3. Arch Linux
### **Install Dependencies**
```sh
sudo pacman -S --needed \
qt6-base qt6-tools qt6-positioning qt6-serialport qt6-multimedia \
yaml-cpp librsvg libusb cmake git base-devel
```
---
## 4. macOS (Homebrew)
### **Install Dependencies**
```sh
brew install \
qt@6 yaml-cpp librsvg libusb cmake git
```
> **Note:** You may need to set environment variables for Qt6 tools if Homebrew does not symlink them into your PATH:
>
> ```sh
> export PATH="/opt/homebrew/opt/qt@6/bin:$PATH"
> export LDFLAGS="-L/opt/homebrew/opt/qt@6/lib"
> export CPPFLAGS="-I/opt/homebrew/opt/qt@6/include"
> ```
---
## Build Instructions (All Platforms)
1. **Clone the repository**
```sh
git clone https://github.com/hmatuschek/qdmr.git
cd qdmr
```
2. **Create a build directory**
```sh
mkdir build
cd build
```
3. **Configure the project**
On some systems, you may need to specify the location of your Qt6 installation:
```sh
cmake .. -DQt6_ROOT=/path/to/qt6
```
The `Qt6_ROOT` specifies the base-path for searching Qt6 related dependencies.
> On macOS, you may need to help CMake find Qt6:
> ```sh
> cmake .. -DQt6_ROOT=$(brew --prefix qt@6)
> ```
If you want to specify an install prefix , run e.g.
```sh
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/
```
The latter will prepare an user-local installation.
4. **Build the project**
```sh
cmake --build .
```
5. **(Optional) Run the application**
```sh
./src/qdmr
```
6. **(Optional) Install**
```sh
cmake --install .
```
This installs everything under the aforementioned install prefix.
---
## Troubleshooting
- **Missing Packages:** Ensure all dependencies are installed as per your OS section.
- **CMake Can't Find Qt6:** Double-check your `PATH`, `Qt6_ROOT`, and Qt6 installation.
- **Permission Errors:** Try using `sudo` if needed for installation steps, but not for building the project.
---
## License
See [LICENSE](LICENSE) for details.
================================================
FILE: CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.25.0)
project(qdmr VERSION 0.15.0)
set(RELEASE_SUFFIX "")
cmake_policy(SET CMP0100 NEW)
cmake_policy(SET CMP0140 NEW)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(DOCBOOK2MAN_XSLT_DEFAULT "docbook_man.debian.xsl")
if(UNIX AND APPLE)
set(DOCBOOK2MAN_XSLT_DEFAULT "docbook_man.macports.xsl")
endif(UNIX AND APPLE)
option(BUILD_TESTS "Build test programs" OFF)
option(BUILD_DOCS "Build API documentation" OFF)
option(BUILD_MAN "Build man page for dmrconf" OFF)
option(INSTALL_UDEV_RULES "Install udev rules file." ON)
option(INSTALL_UDEV_PATH "Install path of udev rules file." "/etc/udev/rules.d")
option(INSTALL_APPSTREAM_DATA "Install AppStream metainfo file." ON)
option(INSTALL_BUNDLE "Installs QDMR as an AppBundle under MacOS X" OFF)
option(BUNDLE_PATH "Where to install the MacOS X application bundle." "~/Applications")
option(DOCBOOK2MAN_XSLT "Man page style sheet." ${DOCBOOK2MAN_XSLT_DEFAULT})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
include(GNUInstallDirs)
include(GenerateIcons)
find_package(Qt6 REQUIRED COMPONENTS Core Widgets UiTools Network SerialPort Positioning
Concurrent LinguistTools Multimedia)
qt6_standard_project_setup()
find_package(LIBUSB_1 REQUIRED)
find_package(YAMLCPP REQUIRED)
find_program(CONVERT_CMD rsvg-convert DOC "SVG conversion tool (librsvg)." REQUIRED)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(USE_FOLDERS ON)
if (BUILD_MAN)
find_program(XSLTPROC_EXECUTABLE NAMES xsltproc)
endif()
if (BUILD_DOCS)
find_package(Doxygen REQUIRED dot)
endif()
if (${BUILD_TESTS})
find_package(Qt6 REQUIRED COMPONENTS Test)
enable_testing(true)
endif(${BUILD_TESTS})
IF (UNIX AND APPLE)
SET(ADDITIONAL_LIBS ${ADDITIONAL_LIBS} "-framework IOKit -framework CoreFoundation")
ENDIF(UNIX AND APPLE)
INCLUDE_DIRECTORIES(${LIBUSB_1_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${YAMLCPP_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib)
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/lib)
LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/src)
set(PROJECT_VERSION_STRING "\"${PROJECT_VERSION}\"")
message(STATUS "Build version ${PROJECT_VERSION}")
# Set compiler flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wsign-compare")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -ggdb -fstack-protector -Wextra")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Wextra")
# Get default install directories under Linux
IF(UNIX AND NOT APPLE)
INCLUDE(GNUInstallDirs)
ENDIF(UNIX AND NOT APPLE)
IF(UNIX AND APPLE)
SET(CMAKE_INSTALL_LIBDIR "lib")
SET(CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
SET(CMAKE_INSTALL_INCLUDEDIR "include")
SET(CMAKE_INSTALL_FULL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
# Set RPATH under MacOS
SET(CMAKE_SKIP_RPATH FALSE)
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_SKIP_INSTALL_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
message(STATUS "RPATH: ${CMAKE_INSTALL_RPATH}")
ENDIF(UNIX AND APPLE)
# Sources...
add_subdirectory(lib)
add_subdirectory(cli)
add_subdirectory(src)
add_subdirectory(doc)
add_subdirectory(dist)
if(BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif(BUILD_TESTS)
# Source distribution packages:
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CMAKE_PROJECT_NAME}-${PROJECT_VERSION}${RELEASE_SUFFIX}")
set(CPACK_SOURCE_IGNORE_FILES
"/build/;/doc/html;/doc/latex;/doc/reveng;/doc/dmr-intro;/examples/*.dfu;/.git/;~$;.qm;*.user$;${CPACK_SOURCE_IGNORE_FILES}")
include(CPack)
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
# QDMR, a GUI application and command line tool to program DMR radios
<a href="https://translate.codeberg.org/projects/qdmr/">
<img src="https://translate.codeberg.org/widgets/qdmr/-/graphical-user-interface/svg-badge.svg"
alt="Translation status">
</a>

*qdmr* is a graphical user interface (GUI) application that allows to program several types of DMR radios.
To this end, it aims at being a more universal codeplug programming software (CPS) compared to the
device and even revision specific CPSs provided by the manufacturers. The goal of this project is to
provide a **single**, **comfortable**, [**well-documented**](https://static.dm3mat.de/qdmr/manual/)
and **platform-independent** CPS for several types of (mainly Chinese) DMR radios.
## Supported Radios
Currently, there are only few radios that are supported
* OpenGD77, OpenRD5R, etc. firmware (since version 0.4.0)
* OpenUV390, OpenDM1701, etc. firmware (since version 0.13.0)
* Radioddity GD77 (since version 0.8.1)
* Radioddity GD73 (since version 0.12.0)
* Baofeng/Radioddity RD-5R & RD-5R+ (since version 0.2.0)
* TYT MD-390 / Retevis RT8 (since version 0.9.0)
* TYT MD-UV380 (since version 0.9.0)
* TYT MD-UV390 / Retevis RT3S (since version 0.3.0)
* TYT MD-2017 / Retevis RT82 (since version 0.9.0)
* Anytone AT-D878UV (since version 0.5.0)
* Anytone AT-D868UVE (since version 0.7.0)
* Anytone AT-D878UVII (since version 0.8.0)
* Anytone AT-D578UV (since version 0.8.0)
* Anytone AT-D578UV II (since version 0.13.0)
* BTECH DM-1701 / Retevis RT84 (since version 0.10.0)
* BTECH BF-1801A6 (since version 0.12.0)
* BTECH DMR-6x2 (since version 0.11.0)
* BTECH DMR-6x2 PRO (since version 0.13.0)
* Baofeng DM-32UV (since version 0.14.0)
A more [detailed list](https://dm3mat.de/software/qdmr) is also available.
## Questions?
* Have a look at the [discussions](https://github.com/hmatuschek/qdmr/discussions), maybe your questions has already been answered.
* There is a *Matrix* chat at [#qdmr:darc.de](https://matrix.to/#/#qdmr:darc.de).
* You can also follow me at [mastodon](https://mastodon.radio/@dm3mat), where I usually announce new releases.
## Want to help?
* If you find any bugs or have suggestions to improve qdmr, consider [opening an issue](https://github.com/hmatuschek/qdmr/issues/new) or participate in one of the [discussions](https://github.com/hmatuschek/qdmr/discussions).
* If you want to help translating qdmr in your language, checkout [qdmr's weblate project](https://translate.codeberg.org/projects/qdmr/graphical-user-interface/).
## Ecosystem
As *qdmr* gets more and more popular with Linux HAMs, the ecosystem around it grows too. These are
tools, that make your day-to-day usage of *qdmr* easier, by providing features, not covered in
qdmr or dmrconf.
* **[dmrfill](https://github.com/jancona/dmrfill)** -- Automatically extemds a qdmr YAML file with repeaters from a selected region. Get them all with one single command.
* **[anytone-emu](https://github.com/dmr-tools/anytone-emu)** -- A tool for emulating radios, reverse engineering and documenting codeplugs. Also generates some [codeplug documentation](https://dmr-tools.github.io/codeplugs/).
## Releases
<a href="https://repology.org/project/qdmr/versions">
<img src="https://repology.org/badge/vertical-allrepos/qdmr.svg" alt="Packaging status" align="right">
</a>
* **[Version 0.14.1](https://github.com/hmatuschek/qdmr/releases/tag/v0.14.0)** -- Bugfix release.
* **[Version 0.14.0](https://github.com/hmatuschek/qdmr/releases/tag/v0.14.0)** -- Added support for Baofeng DM-32UV, added AM channels.
* **[Version 0.13.3](https://github.com/hmatuschek/qdmr/releases/tag/v0.13.3)** -- Added support BTech DMR6X2PRO and OpenUV390.
* **[Version 0.12.3](https://github.com/hmatuschek/qdmr/releases/tag/v0.12.3)** -- Added support BTech DR-1801UV (A6, still unstable) and Radioddity GD-73.
* **[Version 0.11.3](https://github.com/hmatuschek/qdmr/releases/tag/v0.11.3)** -- Added proper support for BTech DMR-6X2UV, device specific settings for AnyTone devices, some bugfixes.
* **[Version 0.10.4](https://github.com/hmatuschek/qdmr/releases/tag/v0.10.4)** -- Added support for BTech DM1701, some bugfixes.
* **[Version 0.9.3](https://github.com/hmatuschek/qdmr/releases/tag/v0.9.3)** -- Reworked core library, added support for TyT MD-2017/Retevis RT82, TyT MD-390/Retevis RT8 & TyT MD-UV380.
* **[Version 0.8.1](https://github.com/hmatuschek/qdmr/releases/tag/v0.8.1)** -- Fixed Radioddity GD-77 support (callsign db still buggy).
* **[Version 0.7.0](https://github.com/hmatuschek/qdmr/releases/tag/v0.7.0)** -- Added AT-D868UVE support and many bugfixes.
* **[Version 0.6.0](https://github.com/hmatuschek/qdmr/releases/tag/v0.6.4)** -- Added APRS & roaming for AT-D878UV.
* **[Version 0.5.0](https://github.com/hmatuschek/qdmr/releases/tag/v0.5.0)** -- Added support for Anytone AT-D878UV.
* **[Version 0.4.0](https://github.com/hmatuschek/qdmr/releases/tag/v0.4.0)** -- Added Open GD77 support.
* **[Version 0.2.1](https://github.com/hmatuschek/qdmr/releases/tag/v0.2.1)** -- First public release.
## Install
There are several ways to install qdmr on your system ranging from simple app-package downloads to building qdmr from its sources. For a detailed list of instructions for your system, read the [install instructions](https://dm3mat.de/software/qdmr/install). Some distributions (see badge above) already added qdmr, thus easing the install using the system package manager.
## License
qdmr - A GUI application and command-line-tool to program DMR radios.
Copyright (C) 2019-2026 Hannes Matuschek, DM3MAT
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
================================================
FILE: cli/CMakeLists.txt
================================================
qt_add_executable(dmrconf WIN32
main.cc
printprogress.cc printprogress.hh
detect.cc detect.hh
verify.cc verify.hh
readcodeplug.cc readcodeplug.hh
writecodeplug.cc writecodeplug.hh
encodecodeplug.cc encodecodeplug.hh
decodecodeplug.cc decodecodeplug.hh
infofile.cc infofile.hh
writecallsigndb.cc writecallsigndb.hh
encodecallsigndb.cc encodecallsigndb.hh
progressbar.cc progressbar.hh
autodetect.cc autodetect.hh)
target_link_libraries(
dmrconf PRIVATE Qt6::Core Qt6::SerialPort Qt6::Network Qt6::Positioning
${LIBUSB_1_LIBRARIES} ${YAMLCPP_LIBRARIES} libdmrconf)
install(TARGETS dmrconf DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
================================================
FILE: cli/autodetect.cc
================================================
#include "autodetect.hh"
#include "logger.hh"
#include "radioinfo.hh"
#include "usbdevice.hh"
QVariant
parseDeviceHandle(const QString &device) {
QRegularExpression pattern("([0-9]+):([0-9]+)");
auto match = pattern.match(device.simplified());
if (match.hasMatch()) {
return QVariant::fromValue(USBDeviceHandle(match.captured(1).toUInt(), match.captured(2).toUInt()));
}
return QVariant(device.simplified());
}
void
printDevices(QTextStream &out, const QList<USBDeviceDescriptor> &devices) {
foreach (USBDeviceDescriptor device, devices) {
if (USBDeviceInfo::Class::None == device.interfaceClass())
continue;
out << "Device '";
if (USBDeviceInfo::Class::Serial == device.interfaceClass()) {
out << device.device().toString() << "'\n";
} else if (USBDeviceInfo::Class::DFU == device.interfaceClass()) {
USBDeviceHandle addr = device.device().value<USBDeviceHandle>();
out << QString("%1:%2").arg(addr.bus).arg(addr.device) << "'\n";
} else if (USBDeviceInfo::Class::HID == device.interfaceClass()) {
USBDeviceHandle addr = device.device().value<USBDeviceHandle>();
out << QString("%1:%2").arg(addr.bus).arg(addr.device) << "'\n";
}
out << " Type: " << device.description() << "\n";
out << " Description: " << device.longDescription() << "\n";
}
}
Radio *
autoDetect(QCommandLineParser &parser, QCoreApplication &app, const ErrorStack &err) {
Q_UNUSED(app)
logDebug() << "Autodetect radios.";
QList<USBDeviceDescriptor> interfaces = USBDeviceDescriptor::detect();
if (interfaces.isEmpty())
interfaces = USBDeviceDescriptor::detect(false);
if (interfaces.isEmpty()) {
errMsg(err) << "No matching USB devices are found. Check connection?";
return nullptr;
}
logInfo() << "Found " << interfaces.count() << " device(s):";
foreach (USBDeviceDescriptor d, interfaces) {
logInfo() << " " << d.description() << ".";
}
USBDeviceDescriptor device;
if (parser.isSet("device")) {
// If a device is passed by option, search for matching handle
QVariant devHandle = parseDeviceHandle(parser.value("device"));
foreach (USBDeviceDescriptor dev, interfaces) {
if (dev.device() == devHandle) {
device = dev;
break;
}
}
if (! device.isValid()) {
ErrorStack::MessageStream msg(err, __FILE__, __LINE__);
msg << "Device handle '" << parser.value("device") << "' not found in:\n";
printDevices(msg, interfaces);
return nullptr;
}
} else if (1 != interfaces.size()) {
// If no device is specified, there should only be one interface
ErrorStack::MessageStream msg(err, __FILE__, __LINE__);
msg << "Cannot auto-detect radio, more than one matching USB devices found:"
<< " Use --device option to specify to which device to talk to. Devices found:\n";
printDevices(msg, interfaces);
return nullptr;
} else if (! interfaces.first().isSave()) {
ErrorStack::MessageStream msg(err, __FILE__, __LINE__);
msg << "It is not save to assume that the device:\n";
printDevices(msg, interfaces);
msg << "is a DMR radio. Please specify the device explicitly to verify correctness.";
return nullptr;
} else {
// The first device is safe to use
device = interfaces.first();
}
logDebug() << "Using device " << device.deviceHandle() << ".";
// Handle identifiability of radio
if (parser.isSet("radio")) {
RadioInfo radio = RadioInfo::byKey(parser.value("radio").toLower());
if (! radio.isValid()) {
errMsg(err) << "Unknown radio '" << parser.value("radio").toLower() << "'.";
return nullptr;
}
Radio *rad = Radio::detect(device, radio, err);
if (nullptr == rad) {
logError() << "Cannot detect radio.";
return nullptr;
}
return rad;
} else if (! device.isSave()) {
// Collect all radio keys for the device
QStringList radios;
foreach (RadioInfo info, RadioInfo::allRadios(device)) {
radios.append(info.key());
}
errMsg(err) << "It is not save or possible to identify the radio connected to the device '"
<< device.deviceHandle() << ". You have to specify which radio to use using "
<< "the --radio option. Possible radios for this device are "
<< radios.join(", ") << ".";
return nullptr;
}
// Try auto-detect:
Radio *rad = Radio::detect(device, RadioInfo(), err);
if (nullptr == rad) {
errMsg(err) << "Cannot auto-detect radio.";
return nullptr;
}
return rad;
}
================================================
FILE: cli/autodetect.hh
================================================
#ifndef AUTODETECT_HH
#define AUTODETECT_HH
#include "radio.hh"
#include <QCommandLineParser>
#include <QCoreApplication>
QVariant parseDeviceHandle(const QString &device);
void printDevices(QTextStream &out, const QList<USBDeviceDescriptor> &devices);
Radio *autoDetect(QCommandLineParser &parser, QCoreApplication &app, const ErrorStack &err=ErrorStack());
#endif // AUTODETECT_HH
================================================
FILE: cli/decodecodeplug.cc
================================================
#include "decodecodeplug.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QFile>
#include <QFileInfo>
#include "logger.hh"
#include "config.hh"
#include "radioinfo.hh"
#include "dummyfilereader.hh"
#include "md390_codeplug.hh"
#include "md390_filereader.hh"
#include "uv390_codeplug.hh"
#include "uv390_filereader.hh"
#include "md2017_codeplug.hh"
#include "md2017_filereader.hh"
#include "dm1701_codeplug.hh"
#include "dm1701_filereader.hh"
#include "rd5r_codeplug.hh"
#include "rd5r_filereader.hh"
#include "gd77_codeplug.hh"
#include "gd77_filereader.hh"
#include "gd73_codeplug.hh"
#include "gd73_filereader.hh"
#include "opengd77_codeplug.hh"
#include "openuv380_codeplug.hh"
#include "openrtx_codeplug.hh"
#include "d868uv_codeplug.hh"
#include "d878uv_codeplug.hh"
#include "d878uv2_codeplug.hh"
#include "d578uv_codeplug.hh"
#include "dmr6x2uv_codeplug.hh"
#include "dmr6x2uv2_codeplug.hh"
#include "dr1801uv_codeplug.hh"
#include "dr1801uv_filereader.hh"
#include "dm32uv_codeplug.hh"
template <class Cpl, class Rdr>
bool decode(Config &config, const QString &filename, QCommandLineParser &parser, const ErrorStack &err=ErrorStack()) {
Cpl codeplug;
if (parser.isSet("manufacturer")) {
if (! Rdr::read(filename, &codeplug, err)) {
errMsg(err) << "Cannot decode manufacturer codeplug file '" << filename << "'.";
return false;
}
} else if (! codeplug.read(filename, err)) {
errMsg(err) << "Cannot decode binary codeplug file '" << filename << "'.";
return false;
}
if (! codeplug.decode(&config, err)) {
errMsg(err) << "Cannot decode binary codeplug file '" << filename << "'.";
return false;
}
if (! codeplug.postprocess(&config, err)) {
logError() << "Cannot post-process binary codeplug file '" << filename << "'.";
return false;
}
return true;
}
int
decodeCodeplug(QCommandLineParser &parser, QCoreApplication &app) {
Q_UNUSED(app);
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
QString filename = parser.positionalArguments().at(1);
ErrorStack err;
if (! parser.isSet("radio")) {
logError() << "No radio type is specified! Use the --radio option.";
return -1;
}
if (! RadioInfo::hasRadioKey(parser.value("radio").toLower())) {
QStringList radios;
foreach (RadioInfo info, RadioInfo::allRadios())
radios.append(info.key());
logError() << "Unknown radio '" << parser.value("radio").toLower() << ".";
logError() << "Known radios " << radios.join(", ") << ".";
return -1;
}
RadioInfo::Radio radio = RadioInfo::byKey(parser.value("radio").toLower()).id();
Config config;
switch (radio) {
case RadioInfo::MD390:
if (! decode<MD390Codeplug, MD390FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::UV390:
if (! decode<UV390Codeplug, UV390FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::MD2017:
if (! decode<MD2017Codeplug, MD2017FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::DM1701:
if (! decode<DM1701Codeplug, DM1701FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::RD5R:
if (! decode<RD5RCodeplug, RD5RFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::GD73:
if (! decode<GD73Codeplug, GD73FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::GD77:
if (! decode<GD77Codeplug, GD77FileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::OpenGD77:
if (! decode<OpenGD77Codeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::OpenUV380:
if (! decode<OpenUV380Codeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::OpenRTX:
if (! decode<OpenRTXCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::D868UVE:
if (! decode<D868UVCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::D878UV:
if (! decode<D878UVCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::D878UVII:
if (! decode<D878UV2Codeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::D578UV:
if (! decode<D578UVCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::DMR6X2UV:
if (! decode<DMR6X2UVCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::DMR6X2UV2:
if (! decode<DMR6X2UV2Codeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::DR1801UV:
if (! decode<DR1801UVCodeplug, DR1801UVFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
case RadioInfo::DM32UV:
if (! decode<DM32UVCodeplug, DummyFileReader>(config, filename, parser, err)) {
logError() << "Cannot decode codeplug '" << filename << "':\n" << err.format();
return -1;
} break;
default:
logError() << "Decoding not implemented for " << RadioInfo::byID(radio).name() << ".";
return -1;
}
if (3 <= parser.positionalArguments().size()) {
QFileInfo info(parser.positionalArguments().at(2));
if (("conf" == info.suffix()) || ("csv" == info.suffix()) || parser.isSet("csv")) {
logError() << "Export of the old table based format was disabled with 0.9.0. "
"Import still works.";
return -1;
} else if (("yaml" == info.suffix()) || parser.isSet("yaml")) {
QFile outfile(info.filePath());
if (! outfile.open(QIODevice::WriteOnly)) {
logError() << "Cannot write CSV codeplug file '" << outfile.fileName()
<< "':\n" << outfile.errorString();
return -1;
}
QTextStream stream(&outfile);
if (! config.toYAML(stream, err)) {
logError() << "Cannot serialize codeplug to YAML:\n"
<< err.format(" ");
}
outfile.close();
} else {
logError() << "Cannot determine codeplug output file format. Consider using --csv or --yaml.";
return -1;
}
} else {
QTextStream stream(stdout);
if (parser.isSet("csv")) {
logError() << "Export of the old table based format was disabled with 0.9.0. "
"Import still works.";
return -1;
} else if (parser.isSet("yaml")) {
if (! config.toYAML(stream, err)) {
logError() << "Cannot serialize codeplug into YAML:\n"
<< err.format(" ");
return -1;
}
} else {
logError() << "Cannot determine codeplug output file format. Consider using --csv or --yaml.";
return -1;
}
}
return 0;
}
================================================
FILE: cli/decodecodeplug.hh
================================================
#ifndef DECODECODEPLUG_HH
#define DECODECODEPLUG_HH
class QCoreApplication;
class QCommandLineParser;
int decodeCodeplug(QCommandLineParser &parser, QCoreApplication &app);
#endif // DECODECODEPLUG_HH
================================================
FILE: cli/detect.cc
================================================
#include "detect.hh"
#include <QCommandLineParser>
#include <QCoreApplication>
#include "logger.hh"
#include "radio.hh"
#include "radiointerface.hh"
#include "autodetect.hh"
int detect(QCommandLineParser &parser, QCoreApplication &app) {
// Try to detect a radio
ErrorStack err;
Radio *radio = autoDetect(parser, app, err);
if (nullptr == radio) {
logError() << "Cannot detect radio: \n" << err.format(" ");
return -1;
}
QTextStream out(stdout);
out << "Found: " << radio->name() << Qt::endl;
delete radio;
return 0;
}
================================================
FILE: cli/detect.hh
================================================
#ifndef DETECT_HH
#define DETECT_HH
class QCommandLineParser;
class QCoreApplication;
int detect(QCommandLineParser &parser, QCoreApplication &app);
#endif // DETECT_HH
================================================
FILE: cli/encodecallsigndb.cc
================================================
#include "encodecodeplug.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QFile>
#include "logger.hh"
#include "config.hh"
#include "radioinfo.hh"
#include "dm1701_callsigndb.hh"
#include "uv390_callsigndb.hh"
#include "md2017_callsigndb.hh"
#include "opengd77_callsigndb.hh"
#include "openuv380_callsigndb.hh"
#include "gd77_callsigndb.hh"
#include "d868uv_callsigndb.hh"
#include "d878uv2_callsigndb.hh"
int encodeCallsignDB(QCommandLineParser &parser, QCoreApplication &app) {
Q_UNUSED(app);
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
UserDatabase userdb(false);
if (parser.isSet("database")) {
if (! userdb.load(parser.value("database"))) {
logError() << "Cannot load user-db from '" << parser.value("database") << "'.";
return -1;
}
} else if (! userdb.ready()) {
logInfo() << "Downloading call-sign DB...";
// Wait for download to finish
QEventLoop loop;
QObject::connect(&userdb, SIGNAL(loaded()), &loop, SLOT(quit()));
QObject::connect(&userdb, SIGNAL(error(QString)), &loop, SLOT(quit()));
loop.exec();
// Check if call-sign DB has been loaded
if (0 == userdb.count()) {
logError() << "Could not download/load call-sign DB.";
return -1;
}
}
if (parser.isSet("id")) {
QStringList prefixes_text = parser.value("id").split(",");
QSet<unsigned> prefixes;
foreach (QString prefix_text, prefixes_text) {
bool ok=true; uint32_t prefix = prefix_text.toUInt(&ok);
if (ok)
prefixes.insert(prefix);
}
if (prefixes.isEmpty()) {
logError() << "Please specify a valid DMR ID or a list of DMR prefixes for --id option.";
return -1;
}
prefixes_text.clear();
foreach (unsigned prefix, prefixes) {
prefixes_text.append(QString::number(prefix));
}
logDebug() << "Sort call-sign DB w.r.t. DMR ID(s) {" << prefixes_text.join(", ") << "}.";
userdb.sortUsers(prefixes);
} else {
logWarn() << "No ID is specified, a more or less random set of call-signs will be used "
<< "if the radio cannot hold the entire call-sign DB of " << userdb.count()
<< " entries. Specify your DMR ID with --id=YOUR_DMR_ID. dmrconf will then "
<< "select those entries 'closest' to you. I.e., DMR IDs with the same prefix.";
}
CallsignDB::Flags selection;
if (parser.isSet("limit")) {
bool ok=true;
selection.setCountLimit(parser.value("limit").toUInt(&ok));
if (! ok) {
logError() << "Please specify a valid limit for the number of callsign db entries using the -n/--limit option.";
return -1;
}
}
if (! parser.isSet("radio")) {
logError() << "You have to specify the radio using the --radio option.";
parser.showHelp(-1);
return -1;
}
if (! RadioInfo::hasRadioKey(parser.value("radio").toLower())) {
QStringList radios;
foreach (RadioInfo info, RadioInfo::allRadios())
radios.append(info.key());
logError() << "Unknown radio '" << parser.value("radio").toLower() << ".";
logError() << "Known radios " << radios.join(", ") << ".";
return -1;
}
RadioInfo::Radio radio = RadioInfo::byKey(parser.value("radio").toLower()).id();
ErrorStack err;
if (RadioInfo::UV390 == radio) {
UV390CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if (RadioInfo::MD2017 == radio) {
MD2017CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if (RadioInfo::DM1701 == radio) {
DM1701CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if (RadioInfo::OpenGD77 == radio) {
OpenGD77CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if (RadioInfo::OpenUV380 == radio) {
OpenUV380CallsignDB db(false);
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if (RadioInfo::GD77 == radio) {
GD77CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if ((RadioInfo::D868UVE == radio) || (RadioInfo::D878UV == radio) || (RadioInfo::DMR6X2UV == radio)){
D868UVCallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else if ((RadioInfo::D878UVII == radio) || (RadioInfo::D578UV == radio) || (RadioInfo::DMR6X2UV2 == radio)){
D878UV2CallsignDB db;
if (! db.encode(&userdb, selection, err)) {
logError() << "Cannot encode call-sign DB: " << err.format();
return -1;
}
if (! db.write(parser.positionalArguments().at(1), err)) {
logError() << "Cannot write output call-sign DB file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return -1;
}
} else {
logError() << "Cannot encode calls-sign DB: Not implemented for '" << parser.value("radio") << "'.";
return -1;
}
return 0;
}
================================================
FILE: cli/encodecallsigndb.hh
================================================
#ifndef ENCODECALLSIGNDB_HH
#define ENCODECALLSIGNDB_HH
class QCoreApplication;
class QCommandLineParser;
int encodeCallsignDB(QCommandLineParser &parser, QCoreApplication &app);
#endif // ENCODECALLSIGNDB_HH
================================================
FILE: cli/encodecodeplug.cc
================================================
#include "encodecodeplug.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QFile>
#include <QFileInfo>
#include "logger.hh"
#include "config.hh"
#include "radioinfo.hh"
#include "rd5r_codeplug.hh"
#include "gd73_codeplug.hh"
#include "gd77_codeplug.hh"
#include "opengd77_codeplug.hh"
#include "openuv380_codeplug.hh"
#include "openrtx_codeplug.hh"
#include "md390_codeplug.hh"
#include "uv390_codeplug.hh"
#include "md2017_codeplug.hh"
#include "d868uv_codeplug.hh"
#include "d878uv_codeplug.hh"
#include "d878uv2_codeplug.hh"
#include "d578uv_codeplug.hh"
#include "d168uv_codeplug.hh"
#include "dmr6x2uv_codeplug.hh"
#include "dmr6x2uv2_codeplug.hh"
#include "dr1801uv_codeplug.hh"
#include "dm32uv_codeplug.hh"
template <class T>
bool encode(Config &config, Codeplug::Flags flags, QCommandLineParser &parser) {
ErrorStack err;
T codeplug;
Config *intermediate = codeplug.preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return false;
}
if (! codeplug.encode(intermediate, flags, err)) {
logError() << "Cannot encode codeplug: " << err.format();
delete intermediate;
return false;
}
delete intermediate;
codeplug.image(0).sort();
if (! codeplug.write(parser.positionalArguments().at(2), err)) {
logError() << "Cannot write output codeplug file '" << parser.positionalArguments().at(1)
<< "': " << err.format();
return false;
}
return true;
}
int encodeCodeplug(QCommandLineParser &parser, QCoreApplication &app) {
Q_UNUSED(app);
if (3 > parser.positionalArguments().size())
parser.showHelp(-1);
QFileInfo fileinfo(parser.positionalArguments().at(1));
if (! parser.isSet("radio")) {
logError() << "You have to specify the radio using the --radio option.";
parser.showHelp(-1);
return -1;
}
if (! RadioInfo::hasRadioKey(parser.value("radio").toLower())) {
QStringList radios;
foreach (RadioInfo info, RadioInfo::allRadios())
radios.append(info.key());
logError() << "Unknown radio '" << parser.value("radio").toLower() << ".";
logError() << "Known radios " << radios.join(", ") << ".";
return -1;
}
RadioInfo::Radio radio = RadioInfo::byKey(parser.value("radio").toLower()).id();
Codeplug::Flags flags;
flags.setUpdateCodeplug(false);
if (parser.isSet("auto-enable-gps"))
flags.setAutoEnableGPS(true);
if (parser.isSet("auto-enable-roaming"))
flags.setAutoEnableRoaming(true);
Config config;
ErrorStack err;
if (parser.isSet("csv") || ("conf" == fileinfo.suffix()) || ("csv" == fileinfo.suffix())) {
QString errorMessage;
QFile infile(fileinfo.canonicalFilePath());
if (! infile.open(QIODevice::ReadOnly)) {
logError() << "Cannot encode CSV codeplug file '" << fileinfo.fileName() << "': " << infile.errorString();
return -1;
}
QTextStream stream(&infile);
if (! config.readCSV(stream, errorMessage)) {
logError() << "Cannot parse CSV codeplug '" << infile.fileName() << "': " << errorMessage;
return -1;
}
} else if (parser.isSet("yaml") || ("yaml" == fileinfo.suffix()) || ("yml" == fileinfo.suffix())) {
if (! config.readYAML(fileinfo.canonicalFilePath(), err)) {
logError() << "Cannot parse YAML codeplug '" << fileinfo.fileName()
<< "':\n" << err.format(" ");
return -1;
}
} else {
logError() << "Cannot determine input file type, consider using --csv or --yaml.";
return -1;
}
switch (radio) {
case RadioInfo::MD390:
if (! encode<MD390Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::UV390:
if (! encode<UV390Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::MD2017:
if (! encode<MD2017Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::DM1701:
if (! encode<DM1701Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::RD5R:
if (! encode<RD5RCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::GD73:
if (! encode<GD73Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::GD77:
if (! encode<GD77Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::OpenGD77:
if (! encode<OpenGD77Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::OpenUV380:
if (! encode<OpenUV380Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::OpenRTX:
if (! encode<OpenRTXCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::D868UVE:
if (! encode<D868UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::D878UV:
if (! encode<D878UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::D878UVII:
if (! encode<D878UV2Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::D578UV:
if (! encode<D578UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::D168UV:
if (! encode<D168UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::DMR6X2UV:
if (! encode<DMR6X2UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::DMR6X2UV2:
if (! encode<DMR6X2UV2Codeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::DR1801UV:
if (! encode<DR1801UVCodeplug>(config, flags, parser))
return -1;
break;
case RadioInfo::DM32UV:
if (! encode<DM32UVCodeplug>(config, flags, parser))
return -1;
break;
default:
logError() << "Cannot encode codeplug: Unknown radio '" << parser.value("radio") << "'.";
return -1;
}
return 0;
}
================================================
FILE: cli/encodecodeplug.hh
================================================
#ifndef ENCODECODEPLUG_HH
#define ENCODECODEPLUG_HH
class QCoreApplication;
class QCommandLineParser;
int encodeCodeplug(QCommandLineParser &parser, QCoreApplication &app);
#endif // ENCODECODEPLUG_HH
================================================
FILE: cli/infofile.cc
================================================
#include "infofile.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QTextStream>
#include "logger.hh"
#include "dfufile.hh"
int infoFile(QCommandLineParser &parser, QCoreApplication &app) {
Q_UNUSED(app)
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
QString filename = parser.positionalArguments().at(1);
DFUFile file;
ErrorStack err;
if (! file.read(filename, err)) {
logError() << "Cannot read codeplug file '" << filename
<< "': " << err.format();
return -1;
}
QTextStream out(stdout);
file.dump(out);
return 0;
}
================================================
FILE: cli/infofile.hh
================================================
#ifndef INFOFILE_HH
#define INFOFILE_HH
class QCoreApplication;
class QCommandLineParser;
int infoFile(QCommandLineParser &parser, QCoreApplication &app);
#endif // INFOFILE_HH
================================================
FILE: cli/main.cc
================================================
#include <QCoreApplication>
#include <QCommandLineParser>
#include <iostream>
#include "logger.hh"
#include "config.h"
#include "detect.hh"
#include "verify.hh"
#include "radioinfo.hh"
#include "readcodeplug.hh"
#include "writecodeplug.hh"
#include "writecallsigndb.hh"
#include "encodecodeplug.hh"
#include "encodecallsigndb.hh"
#include "decodecodeplug.hh"
#include "infofile.hh"
#include "uv390_codeplug.hh"
int main(int argc, char *argv[])
{
// Install log handler to stderr.
QTextStream out(stderr);
StreamLogHandler *handler = new StreamLogHandler(out, LogMessage::WARNING, true);
Logger::get().addHandler(handler);
// Instantiate core application
QCoreApplication app(argc, argv);
app.setApplicationName("dmrconf");
app.setOrganizationName("DM3MAT");
app.setOrganizationDomain("dm3mat.darc.de");
app.setApplicationVersion(VERSION_STRING);
QCommandLineParser parser;
parser.setApplicationDescription(
QCoreApplication::translate(
"main", "Up- and download codeplugs for cheap Chinese DMR radios."));
parser.addHelpOption();
parser.addVersionOption();
parser.addOption({
{"V","verbose"},
QCoreApplication::translate("main", "Verbose output.")
});
parser.addOption({
{"c", "csv"},
QCoreApplication::translate("main", "Up- and download codeplugs in CSV format.")
});
parser.addOption({
{"y", "yaml"},
QCoreApplication::translate("main", "Up- and download codeplugs in extensible YAML format.")
});
parser.addOption({
{"b", "bin"},
QCoreApplication::translate("main", "Up- and download codeplugs in binary format.")
});
parser.addOption({
{"m", "manufacturer"},
QCoreApplication::translate("main", "Given file is manufacturer codeplug file. "
" Can be used with 'decode'.")
});
parser.addOption({
{"D","device"},
QCoreApplication::translate("main", "Specifies the device to use to talk to "
"the radio. If not specified, the dmrconf will try to detect the radio "
"automatically. Please note, that for some radios the device must be specified."),
QCoreApplication::translate("main", "DEVICE")
});
parser.addOption({
{"R", "radio"},
QCoreApplication::translate("main", "Specifies the radio. This option can also "
"be used to override the auto-detection of radios. Be careful using this "
"option when writing to the device. A incompatible code-plug might be written."),
QCoreApplication::translate("main", "RADIO")
});
parser.addOption({
{"i", "id"},
QCoreApplication::translate("main", "Specifies the DMR id."),
QCoreApplication::translate("main", "ID")
});
parser.addOption({
{"n", "limit"},
QCoreApplication::translate("main", "Limits several amounts, depending on the "
"context. When encoding/writing the callsign db, this option specifies the "
"maximum number of callsigns to encode."),
QCoreApplication::translate("main", "N")
});
parser.addOption({
{"B","database"},
QCoreApplication::translate("main", "Specifies the user DB json file when "
"writing the callsign db."),
"FILENAME"
});
parser.addOption(QCommandLineOption(
"init-codeplug",
QCoreApplication::translate(
"main", "Initializes the code-plug in the radio. If not present (default) "
"the code-plug gets updated, maintaining all settings made earlier.")));
parser.addOption(QCommandLineOption(
"update-device-clock",
QCoreApplication::translate(
"main", "If present, the device clock gets set to the system time on any "
"transfer to the radio.")));
parser.addOption(QCommandLineOption(
"auto-enable-gps",
QCoreApplication::translate(
"main", "Automatically enables GPS if there is a GPS/APRS system used by any "
"channel.")));
parser.addOption(QCommandLineOption(
"auto-enable-roaming",
QCoreApplication::translate("main", "Automatically enables roaming if there is a "
"roaming zone used by any channel.")));
parser.addOption(QCommandLineOption(
"ignore-limits",
QCoreApplication::translate("main", "Disables some limit checks.")));
parser.addOption(QCommandLineOption(
"list-radios",
QCoreApplication::translate("main", "Lists all supported radios including the "
"keys to be used with the --radio option.")));
parser.addPositionalArgument(
"command", QCoreApplication::translate(
"main", "Specifies the command to perform. Either detect, verify, read, write, "
"write-db, encode, encode-db, decode or info. Consult the man-page of dmrconf for a "
"detailed description of these commands."),
QCoreApplication::translate("main", "[command]"));
parser.addPositionalArgument(
"file", QCoreApplication::translate(
"main", "The code-plug file. Either binary (extension .dfu), text/csv (extension .conf "
"or .csv) or YAML format (extension .yaml). The format can be forced using the --csv, "
"--yaml or --binary options."),
QCoreApplication::translate("main", "[filename]"));
parser.process(app);
if (parser.isSet("list-radios")) {
QList<RadioInfo> radios = RadioInfo::allRadios();
QTextStream out(stdout);
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(18); out << " Key";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "| ";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(18); out << "Name";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "| ";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(60); out << "Manufacturer";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "\n";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(18); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "+-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(18); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "+-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(60); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "\n";
foreach (RadioInfo radio, radios) {
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(18); out << (" " +radio.key());
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "| ";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(18); out << radio.name();
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "| ";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << radio.manufacturer() << "\n";
}
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(18); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "+-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(18); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "+-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar('-'); out.setFieldWidth(60); out << "-";
out.setFieldAlignment(QTextStream::AlignLeft); out.setPadChar(' '); out.setFieldWidth(0); out << "\n";
out.flush();
return 0;
}
if (1 > parser.positionalArguments().size())
parser.showHelp(-1);
if (parser.isSet("verbose"))
handler->setMinLevel(LogMessage::DEBUG);
int res = -1;
QString command = parser.positionalArguments().at(0);
if ("detect" == command)
res = detect(parser, app);
else if ("verify" == command)
res = verify(parser, app);
else if ("read" == command)
res = readCodeplug(parser, app);
else if ("write" == command)
res = writeCodeplug(parser, app);
else if ("write-db" == command)
res = writeCallsignDB(parser, app);
else if ("encode" == command)
res = encodeCodeplug(parser, app);
else if ("encode-db" == command)
res = encodeCallsignDB(parser, app);
else if ("decode" == command)
res = decodeCodeplug(parser, app);
else if ("info" == command)
res = infoFile(parser, app);
else
parser.showHelp(-1);
// Allow some pending events to be processed (e.g., deleteLater())
QEventLoop loop;
while(loop.processEvents()) {}
return res;
}
================================================
FILE: cli/printprogress.cc
================================================
#include "printprogress.hh"
#include <QTextStream>
void print_progress(int prog) {
QTextStream out(stdout);
out << "\r";
out.setFieldWidth(2);
out << prog;
out.setFieldWidth(0);
out << "%";
prog = (prog*20)/100;
out << "[";
for (int i=0; i<prog; i++)
out << "*";
for (int i=prog; i<20; i++)
out << " ";
out << "]";
}
================================================
FILE: cli/printprogress.hh
================================================
#ifndef PRINTPROGRESS_HH
#define PRINTPROGRESS_HH
void print_progress(int prog);
#endif // PRINTPROGRESS_HH
================================================
FILE: cli/progressbar.cc
================================================
#include "progressbar.hh"
void showProgress(unsigned percent) {
std::cerr << "[";
for (unsigned i=0; i<50; i++) {
if (percent/2 > i)
std::cerr << "=";
else
std::cerr << " ";
}
std::cerr << "] " << percent <<"%" << std::endl;
}
void updateProgress(unsigned percent) {
std::cerr << "\033[1A\033[K";
showProgress(percent);
}
================================================
FILE: cli/progressbar.hh
================================================
#ifndef PROGRESSBAR_HH
#define PROGRESSBAR_HH
#include <iostream>
void showProgress(unsigned percent=0);
void updateProgress(unsigned percent);
#endif // PROGRESSBAR_HH
================================================
FILE: cli/readcodeplug.cc
================================================
#include "readcodeplug.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QFile>
#include "logger.hh"
#include "radio.hh"
#include "printprogress.hh"
#include "config.hh"
#include "codeplug.hh"
#include "progressbar.hh"
#include "autodetect.hh"
int readCodeplug(QCommandLineParser &parser, QCoreApplication &app)
{
Q_UNUSED(app);
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
ErrorStack err;
Radio *radio = autoDetect(parser, app, err);
if (nullptr == radio) {
logError() << "Cannot detect radio: " << err.format();
return -1;
}
QString filename = parser.positionalArguments().at(1);
if (! parser.isSet("verbose")) {
showProgress();
QObject::connect(radio, &Radio::downloadProgress, updateProgress);
}
TransferFlags flags;
flags.setBlocking(true);
Config config;
if (! radio->startDownload(flags, err)) {
logError() << "Codeplug download error: " << err.format();
return -1;
}
if (Radio::StatusError == radio->status()) {
logError() << "Codeplug download error: " << err.format();
return -1;
}
logDebug() << "Save codeplug at '" << filename << "'.";
// If output is CSV -> decode code-plug
if (parser.isSet("csv") || (filename.endsWith(".conf") || filename.endsWith(".csv"))) {
logError() << "Export of the old table based format was disabled with 0.9.0. "
"Import still works.";
return -1;
} else if (parser.isSet("yaml") || filename.endsWith(".yaml")) {
// decode codeplug
if (! radio->codeplug().decode(&config, err)) {
logError() << "Cannot decode codeplug: " << err.format();
return -1;
}
// post-process decoded codeplug
if (! radio->codeplug().postprocess(&config, err)) {
logError() << "Cannot post-process codeplug: " << err.format();
return -1;
}
// try to write YAML file
QFile file(filename);
if (! file.open(QIODevice::WriteOnly)) {
logError() << "Cannot write YAML file '" << filename << "': " << file.errorString();
return -1;
}
QTextStream stream(&file);
if (! config.toYAML(stream)) {
logError() << "Cannot serialize config to YAML file '" << filename << "'.";
return -1;
}
stream.flush();
file.close();
} else if (parser.isSet("bin") || filename.endsWith(".bin") || filename.endsWith(".dfu")) {
// otherwise write binary code-plug
if (! radio->codeplug().write(filename, err)) {
logError() << "Cannot dump codeplug into file '" << filename << "': " << err.format();
return -1;
}
} else {
logError() << "Cannot determine file output type from '" << filename << "'. "
<< "Consider using --csv, --yaml or --bin.";
return -1;
}
return 0;
}
================================================
FILE: cli/readcodeplug.hh
================================================
#ifndef READCODEPLUG_HH
#define READCODEPLUG_HH
class QCommandLineParser;
class QCoreApplication;
int readCodeplug(QCommandLineParser &parser, QCoreApplication &app);
#endif // READCODEPLUG_HH
================================================
FILE: cli/verify.cc
================================================
#include "verify.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QString>
#include <QFile>
#include <QTextStream>
#include <iostream>
#include "logger.hh"
#include "config.hh"
#include "csvreader.hh"
#include "dfufile.hh"
#include "radiolimits.hh"
#include "rd5r.hh"
#include "uv390.hh"
#include "md2017.hh"
#include "dm1701.hh"
#include "gd73.hh"
#include "gd77.hh"
#include "opengd77.hh"
#include "openuv380.hh"
#include "d868uv.hh"
#include "d878uv.hh"
#include "d878uv2.hh"
#include "d578uv.hh"
int verify(QCommandLineParser &parser, QCoreApplication &app)
{
Q_UNUSED(app);
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
QString filename = parser.positionalArguments().at(1);
QFile file(filename);
if (! file.open(QIODevice::ReadOnly)) {
logError() << "Cannot open file" << filename;
return -1;
}
Config config;
// Determine type by ending or flag
if (parser.isSet("csv") || (filename.endsWith(".conf") || filename.endsWith(".csv"))) {
QTextStream stream(&file);
QString errorMessage;
if (! CSVReader::read(&config, stream, errorMessage)) {
logError() << "Cannot read config file '" << filename << "': " << errorMessage;
return -1;
}
logInfo() << "Verify '" << filename << "': No syntax issues found.";
} else if (parser.isSet("bin") || (filename.endsWith(".bin") || filename.endsWith(".dfu"))) {
logError() << "Verification of binary code-plugs makes no sense.";
return -1;
} else if (parser.isSet("yaml") || (filename.endsWith(".yaml") || filename.endsWith(".yml"))) {
ErrorStack err;
if (! config.readYAML(filename,err)) {
logError() << "Cannot read codeplug file '" << filename
<< "': " << err.format();
return -1;
}
} else {
logError() << "Cannot determine filetype from filename '" << filename
<< "': Consider using --csv.";
return -1;
}
if (! parser.isSet("radio")) {
logInfo() << "To verify the codeplug against a specific radio, conser using the --radio=RADIO option.";
return 0;
}
RadioLimitContext ctx;
RadioInfo::Radio radio = RadioInfo::byKey(parser.value("radio").toLower()).id();
switch (radio) {
case RadioInfo::RD5R: {
RD5R radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::UV390: {
UV390 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::MD2017: {
MD2017 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::DM1701: {
DM1701 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::GD73: {
GD73 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::GD77: {
GD77 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::OpenGD77: {
OpenGD77 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::OpenUV380: {
OpenUV380 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::D868UV: {
D868UV radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::D878UV: {
D878UV radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::D878UVII: {
D878UV2 radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
case RadioInfo::D578UV: {
D578UV radio; ErrorStack err;
Config *intermediate = radio.codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
radio.limits().verifyConfig(intermediate, ctx);
delete intermediate;
} break;
default:
logError() << "Cannot verify code-plug against unknown radio '" << radio << "'.";
return -1;
}
bool valid = true;
for (int i=0; i<ctx.count(); i++) {
switch (ctx.message(i).severity()) {
case RadioLimitIssue::Silent:
logDebug() << ctx.message(i).format();
break;
case RadioLimitIssue::Hint:
logInfo() << ctx.message(i).format();
break;
case RadioLimitIssue::Warning:
logWarn() << ctx.message(i).format();
break;
case RadioLimitIssue::Critical:
logError() << ctx.message(i).format();
valid = false;
break;
}
}
return (valid ? 0 : -1);
}
================================================
FILE: cli/verify.hh
================================================
#ifndef VERIFY_HH
#define VERIFY_HH
class QCommandLineParser;
class QCoreApplication;
int verify(QCommandLineParser &parser, QCoreApplication &app);
#endif // VERIFY_HH
================================================
FILE: cli/writecallsigndb.cc
================================================
#include "writecallsigndb.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include "logger.hh"
#include "radio.hh"
#include "userdatabase.hh"
#include "progressbar.hh"
#include "callsigndb.hh"
#include "autodetect.hh"
int writeCallsignDB(QCommandLineParser &parser, QCoreApplication &app) {
UserDatabase userdb(false);
if (parser.isSet("database")) {
if (! userdb.load(parser.value("database"))) {
logError() << "Cannot load user-db from '" << parser.value("database") << "'.";
return -1;
}
} else if (! userdb.ready()) {
logInfo() << "Downloading call-sign DB...";
// Wait for download to finish
QEventLoop loop;
QObject::connect(&userdb, SIGNAL(loaded()), &loop, SLOT(quit()));
QObject::connect(&userdb, SIGNAL(error(QString)), &loop, SLOT(quit()));
loop.exec();
// Check if call-sign DB has been loaded
if (0 == userdb.count()) {
logError() << "Could not download/load call-sign DB.";
return -1;
}
}
if (parser.isSet("id")) {
QStringList prefixes_text = parser.value("id").split(",");
QSet<unsigned> prefixes;
foreach (QString prefix_text, prefixes_text) {
bool ok=true; uint32_t prefix = prefix_text.toUInt(&ok);
if (ok)
prefixes.insert(prefix);
}
if (prefixes.isEmpty()) {
logError() << "Please specify a valid DMR ID or a list of DMR prefixes for --id option.";
return -1;
}
prefixes_text.clear();
foreach (unsigned prefix, prefixes) {
prefixes_text.append(QString::number(prefix));
}
logDebug() << "Sort call-sign DB w.r.t. DMR ID(s) {" << prefixes_text.join(", ") << "}.";
userdb.sortUsers(prefixes);
} else {
logWarn() << "No ID is specified, a more or less random set of call-signs will be used "
<< "if the radio cannot hold the entire call-sign DB of " << userdb.count()
<< " entries. Specify your DMR ID with --id=YOUR_DMR_ID. dmrconf will then "
<< "select those entries 'closest' to you. I.e., DMR IDs with the same prefix.";
}
CallsignDB::Flags selection;
selection.setUpdateDeviceClock(parser.isSet("update-device-clock"));
if (parser.isSet("limit")) {
bool ok=true;
selection.setCountLimit(parser.value("limit").toUInt(&ok));
if (! ok) {
logError() << "Please specify a valid limit for the number of callsign db entries using the -n/--limit option.";
return -1;
}
}
ErrorStack err;
Radio *radio = autoDetect(parser, app, err);
if (nullptr == radio) {
logError() << "Could not detect radio: " << err.format();
return -1;
}
if (! parser.isSet("verbose")) {
showProgress();
QObject::connect(radio, &Radio::downloadProgress, updateProgress);
}
selection.setBlocking(true);
if (! radio->startUploadCallsignDB(&userdb, selection, err)) {
logError() << "Could not upload call-sign DB to radio: " << err.format();
return -1;
}
return 0;
}
================================================
FILE: cli/writecallsigndb.hh
================================================
#ifndef WRITECALLSIGNDB_HH
#define WRITECALLSIGNDB_HH
class QCoreApplication;
class QCommandLineParser;
int writeCallsignDB(QCommandLineParser &parser, QCoreApplication &app);
#endif // WRITECALLSIGNDB_HH
================================================
FILE: cli/writecodeplug.cc
================================================
#include "writecodeplug.hh"
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QFileInfo>
#include "logger.hh"
#include "radio.hh"
#include "config.hh"
#include "progressbar.hh"
#include "autodetect.hh"
#include "radiolimits.hh"
int writeCodeplug(QCommandLineParser &parser, QCoreApplication &app) {
if (2 > parser.positionalArguments().size())
parser.showHelp(-1);
QString filename = parser.positionalArguments().at(1);
QFileInfo fileinfo(filename);
QString errorMessage;
Config config;
if (parser.isSet("csv") || ("csv" == fileinfo.suffix()) || ("conf"==fileinfo.suffix())) {
if (! config.readCSV(filename, errorMessage)) {
logError() << "Cannot read CSV file '" << filename << "': " << errorMessage;
return -1;
}
} else if (parser.isSet("yaml") || ("yaml" == fileinfo.suffix()) || ("yml" == fileinfo.suffix())) {
ErrorStack err;
if (! config.readYAML(fileinfo.canonicalFilePath(), err)) {
logError() << "Cannot parse YAML codeplug '" << fileinfo.fileName() << "': " << err.format();
return -1;
}
}
logDebug() << "Read codeplug from '" << filename << "'.";
ErrorStack err;
Radio *radio = autoDetect(parser, app, err);
if (nullptr == radio) {
logError() << "Cannot detect radio:" << err.format();
return -1;
}
RadioLimitContext ctx(parser.isSet("ignore-limits"));
Config *intermediate = radio->codeplug().preprocess(&config, err);
if (nullptr == intermediate) {
logError() << "Cannot pre-process codeplug: " << err.format();
return -1;
}
bool verified = true;
radio->limits().verifyConfig(intermediate, ctx);
// Only print warnings
for (int i=0; i<ctx.count(); i++) {
switch (ctx.message(i).severity()) {
case RadioLimitIssue::Warning:
logWarn() << "Verification Issue: " << ctx.message(i).format();
break;
case RadioLimitIssue::Critical:
logError() << "Verification Issue: " << ctx.message(i).format();
break;
default:
break;
}
}
if (! verified) {
logError() << "Cannot upload codeplug to device: Codeplug cannot be verified with radio.";
delete intermediate;
return -1;
}
if (! parser.isSet("verbose")) {
showProgress();
QObject::connect(radio, &Radio::downloadProgress, updateProgress);
}
Codeplug::Flags flags;
flags.setBlocking(true);
flags.setUpdateDeviceClock(parser.isSet("update-device-clock"));
flags.setUpdateCodeplug(! parser.isSet("init-codeplug"));
flags.setAutoEnableGPS(parser.isSet("auto-enable-gps"));
flags.setAutoEnableRoaming(parser.isSet("auto-enable-roaming"));
logDebug() << "Start upload to " << radio->name() << ".";
if (! radio->startUpload(intermediate, flags, err)) {
logError() << "Codeplug upload error: " << err.format();
return -1;
}
if (Radio::StatusError == radio->status()) {
logError() << "Codeplug upload error: " << err.format();
return -1;
}
logDebug() << "Upload completed.";
return 0;
}
================================================
FILE: cli/writecodeplug.hh
================================================
#ifndef WRITECODEPLUG_HH
#define WRITECODEPLUG_HH
class QCoreApplication;
class QCommandLineParser;
int writeCodeplug(QCommandLineParser &parser, QCoreApplication &app);
#endif // WRITECODEPLUG_HH
================================================
FILE: cmake/FindLIBUSB_1.cmake
================================================
# - Try to find libusb-1.0
# Once done this will define
#
# LIBUSB_1_FOUND - system has libusb
# LIBUSB_1_INCLUDE_DIRS - the libusb include directory
# LIBUSB_1_LIBRARIES - Link these to use libusb
# LIBUSB_1_DEFINITIONS - Compiler switches required for using libusb
#
# Adapted from cmake-modules Google Code project
#
# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
#
# (Changes for libusb) Copyright (c) 2008 Kyle Machulis <kyle@nonpolynomial.com>
#
# Redistribution and use is allowed according to the terms of the New BSD license.
#
# CMake-Modules Project New BSD License
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# * Neither the name of the CMake-Modules Project nor the names of its
# contributors may be used to endorse or promote products derived from this
# software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
if (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
# in cache already
set(LIBUSB_FOUND TRUE)
else (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
find_path(LIBUSB_1_INCLUDE_DIR
NAMES
libusb.h
PATHS
/usr/include
/usr/local/include
/sw/include
PATH_SUFFIXES
libusb-1.0
)
find_library(LIBUSB_1_LIBRARY
NAMES
usb-1.0 usb
PATHS
/usr/lib
/usr/local/lib
/sw/lib
)
set(LIBUSB_1_INCLUDE_DIRS
${LIBUSB_1_INCLUDE_DIR}
)
set(LIBUSB_1_LIBRARIES
${LIBUSB_1_LIBRARY}
)
if (LIBUSB_1_INCLUDE_DIRS AND LIBUSB_1_LIBRARIES)
set(LIBUSB_1_FOUND TRUE)
endif (LIBUSB_1_INCLUDE_DIRS AND LIBUSB_1_LIBRARIES)
if (LIBUSB_1_FOUND)
if (NOT libusb_1_FIND_QUIETLY)
message(STATUS "Found libusb-1.0:")
message(STATUS " - Includes: ${LIBUSB_1_INCLUDE_DIRS}")
message(STATUS " - Libraries: ${LIBUSB_1_LIBRARIES}")
endif (NOT libusb_1_FIND_QUIETLY)
else (LIBUSB_1_FOUND)
if (libusb_1_FIND_REQUIRED)
message(FATAL_ERROR "Could not find libusb")
endif (libusb_1_FIND_REQUIRED)
endif (LIBUSB_1_FOUND)
# show the LIBUSB_1_INCLUDE_DIRS and LIBUSB_1_LIBRARIES variables only in the advanced view
mark_as_advanced(LIBUSB_1_INCLUDE_DIRS LIBUSB_1_LIBRARIES)
endif (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
================================================
FILE: cmake/FindYAMLCPP.cmake
================================================
# - Try to find yaml-cpp
# Once done this will define
#
# YAMLCPP_FOUND - system has yaml-cpp
# YAMLCPP_INCLUDE_DIRS - the yaml-cpp include directory
# YAMLCPP_LIBRARIES - Link these to use yaml-cpp
# YAMLCPP_DEFINITIONS - Compiler switches required for using yaml-cpp
if (YAMLCPP_LIBRARIES AND YAMLCPP_INCLUDE_DIRS)
# in cache already
set(YAMLCPP_FOUND TRUE)
else (YAMLCPP_LIBRARIES AND YAMLCPP_INCLUDE_DIRS)
find_path(YAMLCPP_INCLUDE_DIR
NAMES
yaml-cpp/yaml.h
PATHS
/usr/include
/usr/local/include
/opt/local
/sw/include
)
find_library(YAMLCPP_LIBRARY
NAMES
yaml-cpp
PATHS
/usr/lib
/usr/local/lib
/opt/local
/sw/lib
)
set(YAMLCPP_INCLUDE_DIRS
${YAMLCPP_INCLUDE_DIR}
)
set(YAMLCPP_LIBRARIES
${YAMLCPP_LIBRARY}
)
if (YAMLCPP_INCLUDE_DIRS AND YAMLCPP_LIBRARIES)
set(YAMLCPP_FOUND TRUE)
endif (YAMLCPP_INCLUDE_DIRS AND YAMLCPP_LIBRARIES)
if (YAMLCPP_FOUND)
if (NOT YAMLCPP_FIND_QUIETLY)
message(STATUS "Found yaml-cpp:")
message(STATUS " - Includes: ${YAMLCPP_INCLUDE_DIRS}")
message(STATUS " - Libraries: ${YAMLCPP_LIBRARIES}")
endif (NOT YAMLCPP_FIND_QUIETLY)
else (YAMLCPP_FOUND)
if (YAMLCPP_FIND_REQUIRED)
message(FATAL_ERROR "Could not find yaml-cpp")
endif (YAMLCPP_FIND_REQUIRED)
endif (YAMLCPP_FOUND)
# show the YAMLCPP_INCLUDE_DIRS and YAMLCPP_LIBRARIES variables only in the advanced view
mark_as_advanced(YAMLCPP_INCLUDE_DIRS YAMLCPP_LIBRARIES)
endif (YAMLCPP_LIBRARIES AND YAMLCPP_INCLUDE_DIRS)
================================================
FILE: cmake/GenerateIcons.cmake
================================================
set(GENERATE_ICONS_OUTPUT_FILES "")
function(_create_build_icon_command icon_name icon_source_dir icon_theme icon_context icon_size icon_output_dir)
cmake_path(APPEND icon_source_dir ${icon_theme} ${icon_context} "${icon_name}.svg"
OUTPUT_VARIABLE input_file)
cmake_path(APPEND icon_output_dir ${icon_theme} "${icon_size}x${icon_size}" ${icon_context} "${icon_name}.png"
OUTPUT_VARIABLE output_file)
list(APPEND GENERATE_ICONS_OUTPUT_FILES ${output_file})
add_custom_command(
OUTPUT ${output_file}
#COMMAND convert ARGS -background none -resize ${icon_size}x${icon_size} ${input_file} ${output_file}
COMMAND rsvg-convert ARGS -w ${icon_size} -h ${icon_size} -o ${output_file} ${input_file}
DEPENDS ${input_file}
COMMENT "Generate ${output_file}"
VERBATIM)
return(PROPAGATE GENERATE_ICONS_OUTPUT_FILES)
endfunction()
function(generate_icons)
cmake_parse_arguments(GENERATE_ICONS "" "DIRECTORY;CONTEXT;" "THEMES;ICONS;SIZES" ${ARGN})
cmake_path(APPEND CMAKE_CURRENT_BINARY_DIR "icons" OUTPUT_VARIABLE GENERATE_ICONS_OUTPUT_DIR)
foreach(ICON_THEME ${GENERATE_ICONS_THEMES})
file(MAKE_DIRECTORY "${GENERATE_ICONS_OUTPUT_DIR}/${ICON_THEME}/scalable/${GENERATE_ICONS_CONTEXT}")
foreach(ICON_NAME ${GENERATE_ICONS_ICONS})
cmake_path(APPEND GENERATE_ICONS_DIRECTORY ${ICON_THEME} ${GENERATE_ICONS_CONTEXT} "${ICON_NAME}.svg" OUTPUT_VARIABLE source_file)
cmake_path(APPEND GENERATE_ICONS_OUTPUT_DIR ${ICON_THEME} "scalable" ${GENERATE_ICONS_CONTEXT} OUTPUT_VARIABLE output_dir)
cmake_path(APPEND output_dir "${ICON_NAME}.svg" OUTPUT_VARIABLE output_file)
list(APPEND GENERATE_ICONS_OUTPUT_FILES ${output_file})
add_custom_command(
OUTPUT ${output_file}
COMMAND ${CMAKE_COMMAND} -E copy ${source_file} ${output_dir}
DEPENDS ${source_file}
COMMENT "Copy ${output_file}"
VERBATIM)
endforeach()
foreach(ICON_SIZE ${GENERATE_ICONS_SIZES})
cmake_path(APPEND GENERATE_ICONS_OUTPUT_DIR ${ICON_THEME} "${ICON_SIZE}x${ICON_SIZE}" ${GENERATE_ICONS_CONTEXT}
OUTPUT_VARIABLE SCALED_ICONS_OUTPUT_DIR)
file(MAKE_DIRECTORY ${SCALED_ICONS_OUTPUT_DIR})
foreach(ICON_NAME ${GENERATE_ICONS_ICONS})
cmake_path(APPEND GENERATE_ICONS_DIRECTORY ${ICON_THEME} ${GENERATE_ICONS_CONTEXT} "${ICON_NAME}.svg"
OUTPUT_VARIABLE source_file)
_create_build_icon_command(${ICON_NAME} ${GENERATE_ICONS_DIRECTORY} ${ICON_THEME} ${GENERATE_ICONS_CONTEXT} ${ICON_SIZE} ${GENERATE_ICONS_OUTPUT_DIR})
endforeach()
endforeach()
endforeach()
return(PROPAGATE GENERATE_ICONS_OUTPUT_FILES)
endfunction()
================================================
FILE: de.darc.dm3mat.qdmr.yaml
================================================
app-id: de.darc.dm3mat.qdmr
runtime: org.kde.Platform
runtime-version: '6.9'
sdk: org.kde.Sdk
command: qdmr
rename-desktop-file: qdmr.desktop
rename-icon: qdmr
finish-args:
- --device=all
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --env="QT_SERIALPORT_SKIP_UDEV_LOOKUP=1"
cleanup:
- /include
- /lib/pkgconfig
- /share/aclocal
- /share/doc
- /share/man
- /man
- "*.a"
- "*.la"
modules:
- name: yaml-cpp
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
sources:
- type: git
url: https://github.com/jbeder/yaml-cpp
commit: f7320141120f720aecc4c32be25586e7da9eb978 # tag 0.8.0
- name: libusb1
buildsystem: autotools
config-opts:
- --disable-static
sources:
- type: git
url: https://github.com/libusb/libusb.git
tag: v1.0.29
commit: 15a7ebb4d426c5ce196684347d2b7cafad862626
- name: qdmr
buildsystem: cmake-ninja
sources:
- type: dir
path: .
================================================
FILE: dist/99-qdmr.rules
================================================
# Radioddity GD-73
SUBSYSTEM=="usb", ATTRS{idVendor}=="1206", ATTRS{idProduct}=="0227", MODE="660", GROUP="dialout"
# TYT MD-UV380
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="660", GROUP="dialout"
# Baofeng RD-5R, TD-5R
# Radioddity GD-77
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="660", GROUP="dialout"
# Ignore this device in Modem Manager
# Anytone AT-D868UV, AT-D878UV, AT-D578UV (II) (GD32)
ATTRS{idVendor}=="28e9" ATTRS{idProduct}=="018a", ENV{ID_MM_DEVICE_IGNORE}="1"
# Anytone AT-D578UV (II) (STM32)
ATTRS{idVendor}=="2e3c" ATTRS{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1"
# also for DR-1801UV
ATTRS{idVendor}=="067b" ATTRS{idProduct}=="23a3", ENV{ID_MM_DEVICE_IGNORE}="1"
================================================
FILE: dist/CMakeLists.txt
================================================
if (UNIX AND NOT APPLE)
configure_file("qdmr.desktop.in" "qdmr.desktop")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qdmr.desktop DESTINATION share/applications/)
install(FILES ${PROJECT_SOURCE_DIR}/dist/qdmr32.png DESTINATION share/icons/hicolor/32x32/apps/ RENAME qdmr.png)
install(FILES ${PROJECT_SOURCE_DIR}/dist/qdmr48.png DESTINATION share/icons/hicolor/48x48/apps/ RENAME qdmr.png)
install(FILES ${PROJECT_SOURCE_DIR}/dist/qdmr64.png DESTINATION share/icons/hicolor/64x64/apps/ RENAME qdmr.png)
install(FILES ${PROJECT_SOURCE_DIR}/dist/qdmr72.png DESTINATION share/icons/hicolor/72x72/apps/ RENAME qdmr.png)
install(FILES ${PROJECT_SOURCE_DIR}/dist/qdmr96.png DESTINATION share/icons/hicolor/96x96/apps/ RENAME qdmr.png)
endif(UNIX AND NOT APPLE)
if (UNIX AND NOT APPLE AND ${INSTALL_APPSTREAM_DATA})
install(FILES ${PROJECT_SOURCE_DIR}/dist/de.darc.dm3mat.qdmr.metainfo.xml DESTINATION share/metainfo/)
endif(UNIX AND NOT APPLE AND ${INSTALL_APPSTREAM_DATA})
================================================
FILE: dist/de.darc.dm3mat.qdmr.metainfo.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2022-2025 Hannes Matuschek <dm3mat@darc.de> -->
<component type="desktop-application">
<id>de.darc.dm3mat.qdmr</id>
<launchable type="desktop-id">qdmr.desktop</launchable>
<name>QDMR</name>
<developer id="de.darc.dm3mat">
<name>Hannes Matuschek</name>
</developer>
<project_license>GPL-3.0+</project_license>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<summary>Codeplug programming software for DMR radios</summary>
<description>
<p>
QDMR is a Qt application to program DMR radios. DMR is a digital modulation
standard used in amateur and commercial radio. To this end, QDMR is an
alternative codeplug programming software (CPS) that supports several radios
of several manufacturers. Including AnyTone AT-D868UVE, AT-D878UV, AT-878UVII,
AT-D578UV, TyT MD-390, MD-UV380, MD-UV390, MD-2017, Retevis RT8, RT3S, RT82, RT84,
Radioddity RD5R, GD-77, GD-73, Baofeng DM-1701, DR-1801-A6, DMR-6X2(PRO), DM-32UV
and radios running the OpenGD77 firmware.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/hmatuschek/qdmr/master/doc/fig/qdmr-channels.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://dm3mat.darc.de/qdmr/</url>
<url type="bugtracker">https://github.com/hmatuschek/qdmr/issues</url>
<content_rating type="oars-1.1"/>
</component>
================================================
FILE: dist/fedora/Dockerfile
================================================
FROM fedora:rawhide
RUN dnf -y install fedora-packager rpmdevtools wget \
cmake docbook5-style-xsl xsltproc gcc-c++ hicolor-icon-theme librsvg2-tools \
pkgconfig qt6-qtbase-devel qt6-qtconnectivity-devel qt6-qtpositioning-devel \
qt6-qtserialport-devel qt6-qtbase-devel libusb1-devel yaml-cpp-devel qt6-qttools-devel
RUN rpmdev-setuptree
CMD /bin/bash
================================================
FILE: dist/fedora/docker-build.sh
================================================
#!/bin/bash
cp /mnt/qdmr.spec /root/rpmbuild/SPECS
VERSION="0.13.2"
TARBALL="v${VERSION}.tar.gz"
# Download sources
cd /root/rpmbuild/SOURCES
if [ ! -f $TARBALL ]; then
wget https://github.com/hmatuschek/qdmr/archive/refs/tags/$TARBALL
fi
# Copy specs and build RPM
cd /root/rpmbuild/SPECS
rpmbuild -ba qdmr.spec
# Extract
# cp /root/rpmbuild/RPMS/x86_64/*.rpm /mnt/
================================================
FILE: dist/fedora/qdmr.spec
================================================
#
# spec file for package qdmr
#
# Copyright (c) 2021-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
%define ext_man .gz
%define sover 0
%define realver 0.14.0
Name: qdmr
Version: %{realver}
Release: 0fedora
Summary: Graphical code-plug programming tool for DMR radios
License: GPL-3.0-or-later
Group: Productivity/Hamradio/Other
URL: https://dm3mat.darc.de/qdmr/
#Git-Clone: https://github.com/hmatuschek/qdmr.git
Source: https://github.com/hmatuschek/qdmr/archive/refs/tags/v%{realver}.tar.gz
BuildRequires: cmake
BuildRequires: docbook5-style-xsl
BuildRequires: xsltproc
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: librsvg2-tools
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6Positioning)
BuildRequires: pkgconfig(Qt6SerialPort)
BuildRequires: pkgconfig(Qt6Test)
BuildRequires: pkgconfig(Qt6UiTools)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(yaml-cpp)
%description
qdmr is a Qt application to program DMR radios. DMR is a digital modulation
standard used in amateur and commercial radio. To this end, qdmr is an
alternative codeplug programming software (CPS) that supports several radios
across several manufacturers.
Currently supported devices are:
* Radioddity/Baofeng RD-5R, GD-73, GD-77
* TYT MD-380, MD-390, MD-UV380, MD-UV390, MD-2017
* Retevis RT8, RT3S, RT82
* Open GD77 firmware (GD77, RD-5R, DM-1801, MD-UV390, RT-3S & DM1701)
* AnyTone AT-D868UVE, AT-D878UV, AT-878UVII, AT-D578UV, AT-D578UVII
* BTech DMR-6X2, DMR-6X2PRO, DM-1701, DR-1801UVA6, DM-32UV
%package -n libdmrconf%{sover}
Summary: Graphical code-plug programming tool for DMR radios
Group: System/Libraries
%description -n libdmrconf%{sover}
qDMR is a simple to use and feature-rich code-plug programming software
(CPS) for cheap DMR radios.
This subpackage contains shared library part of libdmrconf.
%package devel
Summary: Development files for dmrconf
Group: Development/Libraries/C and C++
Requires: libdmrconf%{sover} = %{version}
%description devel
qDMR is a simple to use and feature-rich code-plug programming software
(CPS) for cheap DMR radios.
This subpackage contains libraries and header files for developing
applications that want to make use of libdmrconf.
%prep
%setup -q -n %{name}-%{realver}
%build
%cmake -DBUILD_MAN=ON -DDOCBOOK2MAN_XSLT=docbook_man.fedora.xsl -DINSTALL_UDEV_PATH=%{_udevrulesdir}
%cmake_build
%install
%cmake_install
%post -n libdmrconf%{sover} -p /sbin/ldconfig
%postun -n libdmrconf%{sover} -p /sbin/ldconfig
%files
%license LICENSE
%doc README.md
%{_bindir}/dmrconf
%{_bindir}/qdmr
%{_udevrulesdir}/99-qdmr.rules
%{_datadir}/applications/qdmr.desktop
%{_metainfodir}/de.darc.dm3mat.qdmr.metainfo.xml
%{_datadir}/icons/hicolor/*/apps/qdmr.png
%{_mandir}/man1/dmrconf.1%{?ext_man}
%{_mandir}/man1/qdmr.1%{?ext_man}
%files -n libdmrconf%{sover}
%{_libdir}/libdmrconf.so.*
%files devel
%{_includedir}/libdmrconf/
%{_libdir}/libdmrconf.so
%changelog
* Sat Mar 21 2026 Hannes Matuschek <dm3mat@darc.de>
- Updated to 0.14.0
* Sun Nov 30 2025 Hannes Matuschek <dm3mat@darc.de>
- Updated to 0.13.2
* Tue Oct 21 2025 Hannes Matuschek <dm3mat@darc.de>
- Updated to 0.13.1
* Sun Oct 19 2025 Hannes Matuschek <dm3mat@darc.de>
- Updated to 0.13.0
* Thu Jul 25 2024 Hannes Matuschek <dm3mat@darc.de>
- Updated to 0.12.0
- added translations
- updated description
- fixed so-version
- adapted from openSUSE spec file
================================================
FILE: dist/macosx/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>qdmr</string>
<key>CFBundleGetInfoString</key>
<string>QDMR 0.4.1</string>
<key>CFBundleIdentifier</key>
<string>com.github.hmatuschek.qdmr</string>
<key>CFBundleIconFile</key>
<string>qdmr.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>1.0</string>
<key>CFBundleName</key>
<string>QDMR</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4</string>
<key>CFBundleVersion</key>
<string>0.4.1</string>
<key>LSMinimumSystemVersion</key>
<string>10.9.0</string>
</dict>
</plist>
================================================
FILE: dist/qdmr.desktop.in
================================================
[Desktop Entry]
Name=QDMR
GenericName=Codeplug programming software
Comment=A universal codeplug programming software for DMR radios
Exec=qdmr
Icon=qdmr
Type=Application
Categories=Network;HamRadio;
Terminal=false
X-Desktop-File-Install-Version=0.24
================================================
FILE: doc/CMakeLists.txt
================================================
#
# man-page generation
#
message(STATUS "Using xsltproc: ${XSLTPROC_EXECUTABLE}")
configure_file("dmrconf.in.xml" "dmrconf.xml")
configure_file("qdmr.in.xml" "qdmr.xml")
add_custom_command(
OUTPUT dmrconf.1
COMMAND ${XSLTPROC_EXECUTABLE}
-o ${CMAKE_CURRENT_BINARY_DIR}/dmrconf.1
${CMAKE_CURRENT_SOURCE_DIR}/${DOCBOOK2MAN_XSLT}
${CMAKE_CURRENT_BINARY_DIR}/dmrconf.xml
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dmrconf.xml
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating man-page for dmrconf."
VERBATIM)
add_custom_command(
OUTPUT qdmr.1
COMMAND ${XSLTPROC_EXECUTABLE}
-o ${CMAKE_CURRENT_BINARY_DIR}/qdmr.1
${CMAKE_CURRENT_SOURCE_DIR}/${DOCBOOK2MAN_XSLT}
${CMAKE_CURRENT_BINARY_DIR}/qdmr.xml
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qdmr.xml
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating man-page for qdmr."
VERBATIM)
if (${BUILD_MAN})
# Create man page from docbook
add_custom_target(dmrconf_manpage ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dmrconf.1)
add_custom_target(qdmr_manpage ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qdmr.1)
# install man page on unix systems
if (UNIX)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dmrconf.1
${CMAKE_CURRENT_BINARY_DIR}/qdmr.1
DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man1/)
endif (UNIX)
endif(${BUILD_MAN})
#
# optional API docs
#
if (${BUILD_DOCS})
set(DOXYGEN_PROJECT_NAME "libdrmconf")
set(DOXYGEN_PROJECT_BRIEF "A library to program DMR radios.")
set(DOXYGEN_BRIEF_MEMBER_DESC YES)
set(DOXYGEN_JAVADOC_AUTOBRIEF YES)
set(DOXYGEN_EXAMPLE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/code")
set(DOXYGEN_DOTFILE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/fig")
set(DOXYGEN_ENABLE_PREPROCESSING YES)
set(DOXYGEN_MACRO_EXPANSION YES)
set(DOXYGEN_EXPAND_ONLY_PREDEF YES)
set(DOXYGEN_PREDEFINED __attribute__(x) =)
set(DOXYGEN_IMAGE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/fig")
doxygen_add_docs(apidocs
ALL
${CMAKE_SOURCE_DIR}/lib
COMMENT "Build API documentation")
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
DESTINATION ${CMAKE_INSTALL_DOCDIR}/libdmrconf/)
endif(${BUILD_DOCS})
================================================
FILE: doc/code/anytone_2tonefunction.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Frequency 1 in 0.1Hz, little endian | Frequency 2 in 0.1Hz, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Response | Name, up to 7 ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | Pad byte 0x00 | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- Response: 0=None, 1=Tone, 2=ToneRespond
================================================
FILE: doc/code/anytone_2toneid.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Frequency 1 in 0.1Hz, little endian | Frequency 2 in 0.1Hz, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Unused set to 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 | Name, up to 7 ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c ... | Pad byte 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_2tonesettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 ... | Tone 1 duration in 100ms | Tone 2 duration in 100ms | Long tone duration in 100ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | Gap duration in 10ms | Auto reset time in 10s | Sidetone enable | Unused set to 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_5tonefunction.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Function | Response | ID length | ID up to 24 BCD digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c ... | Name up to 7 ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 ... | Pad set to 0x00 | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- Function: Specifies the function to perform. 0=OpenSquelch, 1=CallAll, 2=EmergencyAlarm, 3=RemoteKill, 4=RemoteStun,
5=RemoteWakeup, 6=GroupCall
- Response: 0=None, 1=Tone, 2=ToneRespond
================================================
FILE: doc/code/anytone_5tonefunctionlist.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | Five-tone function 0 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
001c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0020 | Five-tone function 1 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
003c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
... ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
01e0 | Five-tone function 15 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
01fc ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_5toneid.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Unused set to 0x00 | Standard | ID length | Tone duration in ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | ID up to 40 BCD digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
18 | Name, up to 7 ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... | Pad byte 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- Standard: 0=ZVEI1, 1=ZVEI2, 2=ZVEI3, 3=PZVEI, 4=DZVEI, 5=PDZVEI, 6=CCIR1, 7=CCIR2, 8=PCCIR, 9=EEA, 10=EuroSignal, 11=NATEL,
12=MODAT, 13=CCITT, 14=EIA
================================================
FILE: doc/code/anytone_5toneidlist.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | Five-tone ID 0 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
001c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0020 | Five-tone ID 1 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
003c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
... ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c60 | Five-tone ID 99 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c7c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_5tonesettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Unknown settings ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Unused set to 0x00 | Decoding response | Decoding standard | Radio ID length |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24 | Decoding tone duration in ms | Radio ID up to 14 BCD digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
28 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c | Post encode delay in 10ms | PTT ID 0=off [5,75] | Auto reset time in 10s | First delay in 10ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
30 | Sidetone enable | Unknown | Stop code [0,15] | Stop time in 10ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
34 | Decode time in 10ms | Delay after stop in 10ms | Pre time in 10ms | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
3c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
40 | Unused set to 0x00 | BOT standard | BOT ID length | BOT tone duration in ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
44 | BOT ID, up to 24 BCD digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
4c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
50 | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
5c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
60 | Unused set to 0x00 | EOT standard | EOT ID length | EOT tone duration in ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
64 | EOT ID up to 24 BCD digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
6c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
70 | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
7c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- Decoding response: 0=None, 1=Tone, 2=ToneRespond
- Decoding/BOT/EOT standard: 0=ZVEI1, 1=ZVEI2, 2=ZVEI3, 3=PZVEI, 4=DZVEI, 5=PDZVEI, 6=CCIR1, 7=CCIR2, 8=PCCIR, 9=EEA, 10=EuroSignal,
11=NATEL, 12=MODAT, 13=CCITT, 14=EIA
================================================
FILE: doc/code/anytone_alarmsetting.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Analog alarm settings ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 ... | Digital alarm settings ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 | | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_analogalarm.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Unused 0x00 | Standard | ID length | Tone duration in ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | ID up to 40 BCD encoded digits ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
18 | Name, max 7 ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... | Pad byte 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field details:
- Standard: Specifies the 5-tone standard. 0=ZVEI1, 1=ZVEI2, 2=ZVEI3, 3=PZVEI, 4=DZVEI, 5=PDZVEI, 6=CCIR1, 7=CCIR2, 8=PCCIR, 9=EEA,
10=EURO SIGNAL, 11=NATEL, 12=MODAT, 13=CCITT, 14=EIA.
================================================
FILE: doc/code/anytone_analogquickcall.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Type | Analog contact index, 0xff=none |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Some field details:
- Type: 0=none, 1=DTMF, 2=2Tone, 3=5Tone
================================================
FILE: doc/code/anytone_analogquickcalls.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | Quick call 0 | Quick call 1 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0004 | Quick call 2 | Quick call 3 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0008 | Unused, filled with 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00fc ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_bootsettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Intro line 1, 16 x ASCII, 0-terminated and padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 | Intro line 2, 16 x ASCII, 0-terminated and padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Boot password, 8 x ASCII, only number chars, 0-terminated and padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
28 | Unused, filled with 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_channel.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | RX Frequency 32bit BCD encoded in big-endian as MMMkkkhh |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Tx Frequency Offset 32bit BCD encoded in big-endian as MMMkkkhh |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 | RMode | 0 |BWd| PWR | CMode |TAr|CaC|RXO|CTR|TDC|TCT|RDC|RCT| CTCSS transmit | CTCSS receive |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | DCS transmit code, little endian | DCS receive code, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 | Custom CTCSS frequency in 0.1Hz, little endian | 2-tone decode index, 0-based, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 | Contact index 0-based, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
18 | Radio ID table index. | 0 |SquelchMode| 0 0 0 0 | 0 0 |OptSig | 0 0 | TxPer | Scan list index |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c | RX Group list index | 2-tone ID | 5-tone ID | DTMF ID |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Color code |LWK|EEE|RGP|EAT| 0 |EST|SMC|TSL| AES Encryption key | Name 16 x ASCII 0-padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
30 ... | Pad byte set to 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
34 | Device specific settings ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
3c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- RMode: Repater mode where 0=simplex, 1=positive TX offset, 2=negative TX offset.
- BWd: Band width where 0=narrow (12.5kHz), 1=wide (25kHz).
- PWR: Power where 0=low, 1=mid, 2=high, 3=turbo.
- CMode: Channel mode, 0=analog, 1=digital, 2=analog + digi RX, 3=digital + analog RX.
- TAr: Enable talkaround.
- CaC: Enable call confirm.
- RXO: Enable RX only.
- CTR: Enable CTCSS phase reversal.
- TDC: Enable TX DCS code.
- TCT: Enable TX CTCSS tone.
- RDC: Enable RX DCS code.
- RCT: Enable RX CTCSS tone.
- SquelchMode: Squelch mode 0=Carrier, 1=CTCSS/DCS, 2=Optional Signaling, 3=CTCSS/DCS and Optional Signaling,
4 = CTCSS/DCS or Optional Signaling
- OptSig: Optional signalling where 0=off, 1=DTMF, 2=2-tone, 3=5-tone
- TxPer: TX permit/admit criterion, 0=always, 1=colorcode, 2=channel free.
- LWK: Enable lone worker.
- EEE: Enable enhanced encryption
- RGP: Enable RX GPS:
- EAT: Enable adative TDMA
- EST: Enable simplex TDMA,
- SMC: SMS confirmation,
- TSL: Time slot where 0=TS1, 1=TS2
================================================
FILE: doc/code/anytone_contact.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Type | Name 16 x ASCII chars ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 ... | 18 unused bytes set to 0 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 ... | ID 8 digits BCD encoded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24 ... big endian | Call alert |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
28 | 60 unused bytes, set to 0 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
60 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_contactmapentry.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | DMR ID and group call flag, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Contact index 0-based, little endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- DMR ID and group call flag: The ID is encoded in BCD litte-endian, shifted to the left by one bit. Bit 0 is then the group-call
flag. The combined id and flag is then stored as a 32bit little-endian.
================================================
FILE: doc/code/anytone_digitalalarm.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Action, 0=none | Alarm duration in seconds | TX duration in seconds | RX duration in seconds |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Channel index, 0-based, little endian | Channel select 1=current | Alarm repeat 0=continuous |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 | Voice switch BC dur in min+1 | Area switch BC dur in min+1 | VOX enable | RX alarm enable |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field details:
- Action: Specifies the alarm action. 0=none, 1=TX and background, 2=TX and non-local alarm, 3=TX and local alarm
- Channel select: If 0 use specified channel index else current channel.
- Alarm repeat: Number of alarm repetitions, 0=continuous.
- Voice switch broadcast duration: Specifies the time in minutes +1. That is 0=1min, 1=2min, ...
- Area switch broadcast duration: Specifies the time in minutes +1. That is 0=1min, 1=2min, ...
================================================
FILE: doc/code/anytone_digitalalarmextension.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Call type | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 ... | Destination ID ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24 ... 8 digit BCD, big endian | Unused set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field details:
- Call type: 0=private, 1=group, 2=all
================================================
FILE: doc/code/anytone_dmraprssettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Manual TX interval in sec. | Auto TX interval in sec. | Enable fixed location beacon | Latitude degrees |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Latitude minutes | Latitude seconds | South flag (0=north, 1=south) | Longitude degrees |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 | Longitude minutes | Longitude seconds | West flag (0=east, 1=west) | Transmit power |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | Revert channel 0 index, 0-based, little endian. | Revert channel 1 index, 0-based, little endian. |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
... ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
18 | Revert channel 6 index, 0-based, little endian. | Revert channel 7 index, 0-based, little endian. |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c | Target DMR ID, 8 digit BCD, big endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Call type | Timeslot override | Unused, set to 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Some field details:
- Transmit power: 0=low, 1=mid, 2=high, 3=turbo.
- Revert channel indices: Global index of channel, 0x0fa0=VFO A, 0x0fa1=VFO B, 0x0fa2=selected, 0xffff=none.
- Call type: 0=private, 1=group, 2=all call.
- Timeslot override: 0=same as channel, 1=TS1, 2=TS2
================================================
FILE: doc/code/anytone_dtmfcontact.txt
================================================
0 8 16 24
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0 | Number, 14 digits BCD encoded, big-endian, 0-padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
... | Number of digits |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
8 | Name, 15 x ASCII, 0-padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 ... | 0x00 pad |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_dtmfidlist.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | DTMF number 0 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
000c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0010 | DTMF number 1 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
001c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
... ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00f0 | DTMF number 15 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00fc ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
================================================
FILE: doc/code/anytone_dtmfsettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Interval symbol [0,15] | Group code [0, 15] | Response | Pre time in 10ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | First digit duration in 10ms | Auto reset time in 10s | Radio ID, 3 digits? ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 ... | Post enc. delay in 10ms | PTT ID pause in seconds | PTT ID enable |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | D-code pause in seconds | Side tone enable | Unused set to 0x00 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 | BOT ID up to 16 digits, 0xff terminated/padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | EOT ID up to 16 digits, 0xff terminated/padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
30 | Remote kill ID, up to 16 digits, 0xff terminated/padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
3c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
40 | Remote stun ID, up to 16 digits, 0xff terminated/padded ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
4c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Field description:
- Response: 0=None, 1=Tone, 2=ToneRespond
================================================
FILE: doc/code/anytone_generalsettings.txt
================================================
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Enable key tone | Display mode | Enable automatic key lock | Automatic shutdown time |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
04 | Unknown | Unknown | Boot display | Enable boot password |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
08 | Unknown | Squelch level VFO A | Squelch level VFO B | Power save mode |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0c | VOX sensitivity | VOX delay in 100+500*n ms | VFO scan type | MIC gain |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10 | PF1 short press function | PF2 short press function | PF3 short press function | P1 short press function |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
14 | P2 short press function | Work mode A | Work mode B | Unknown ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
18 ... ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c ... | Work mode MEM zone A |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Work mode MEM zone B | Unknown | Enable recording | Unknown ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24 ... | Display brightness | Backlight duration |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
28 | Enable GPS | Enable SMS alert | Unknown |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2c | Work mode main channel set | Enable sub channel | Unknown | Enable call alert |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
30 | GPS Time zone | Talk permit tone | Digital call reset tone | VOX source |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
34 | Unknown | Idle channel tone | Menu exit time |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
38 | Unknown | Startup tone | Enable call end prompt | Max volume |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
3c | Unknown | GPS RX positions |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
40 | Unknown | PF1 long press function | PF2 long press function | PF3 long press function |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
44 | P1 long press function | P2 long press function | Long press duration | Enable Volume change prompt |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
48 | Auto repeater A direction | Unknown ...
+---+---+---+---+---+---+---+---+---+---
gitextract_3ebrfg9_/
├── .clang-format
├── .github/
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── communication-issue.md
│ │ └── decoding-issue.md
│ └── workflows/
│ ├── clang.yml
│ ├── flatpak.yml
│ └── unittests.yml
├── .gitignore
├── .gitmodules
├── BUILD.md
├── CMakeLists.txt
├── LICENSE
├── README.md
├── cli/
│ ├── CMakeLists.txt
│ ├── autodetect.cc
│ ├── autodetect.hh
│ ├── decodecodeplug.cc
│ ├── decodecodeplug.hh
│ ├── detect.cc
│ ├── detect.hh
│ ├── encodecallsigndb.cc
│ ├── encodecallsigndb.hh
│ ├── encodecodeplug.cc
│ ├── encodecodeplug.hh
│ ├── infofile.cc
│ ├── infofile.hh
│ ├── main.cc
│ ├── printprogress.cc
│ ├── printprogress.hh
│ ├── progressbar.cc
│ ├── progressbar.hh
│ ├── readcodeplug.cc
│ ├── readcodeplug.hh
│ ├── verify.cc
│ ├── verify.hh
│ ├── writecallsigndb.cc
│ ├── writecallsigndb.hh
│ ├── writecodeplug.cc
│ └── writecodeplug.hh
├── cmake/
│ ├── FindLIBUSB_1.cmake
│ ├── FindYAMLCPP.cmake
│ └── GenerateIcons.cmake
├── de.darc.dm3mat.qdmr.yaml
├── dist/
│ ├── 99-qdmr.rules
│ ├── CMakeLists.txt
│ ├── de.darc.dm3mat.qdmr.metainfo.xml
│ ├── fedora/
│ │ ├── Dockerfile
│ │ ├── docker-build.sh
│ │ └── qdmr.spec
│ ├── macosx/
│ │ ├── Info.plist
│ │ └── qdmr.icns
│ └── qdmr.desktop.in
├── doc/
│ ├── CMakeLists.txt
│ ├── code/
│ │ ├── anytone_2tonefunction.txt
│ │ ├── anytone_2toneid.txt
│ │ ├── anytone_2tonesettings.txt
│ │ ├── anytone_5tonefunction.txt
│ │ ├── anytone_5tonefunctionlist.txt
│ │ ├── anytone_5toneid.txt
│ │ ├── anytone_5toneidlist.txt
│ │ ├── anytone_5tonesettings.txt
│ │ ├── anytone_alarmsetting.txt
│ │ ├── anytone_analogalarm.txt
│ │ ├── anytone_analogquickcall.txt
│ │ ├── anytone_analogquickcalls.txt
│ │ ├── anytone_bootsettings.txt
│ │ ├── anytone_channel.txt
│ │ ├── anytone_contact.txt
│ │ ├── anytone_contactmapentry.txt
│ │ ├── anytone_digitalalarm.txt
│ │ ├── anytone_digitalalarmextension.txt
│ │ ├── anytone_dmraprssettings.txt
│ │ ├── anytone_dtmfcontact.txt
│ │ ├── anytone_dtmfidlist.txt
│ │ ├── anytone_dtmfsettings.txt
│ │ ├── anytone_generalsettings.txt
│ │ ├── anytone_grouplist.txt
│ │ ├── anytone_hotkey.txt
│ │ ├── anytone_hotkeysettings.txt
│ │ ├── anytone_message.txt
│ │ ├── anytone_messagelist.txt
│ │ ├── anytone_radioid.txt
│ │ ├── anytone_repeateroffsetfrequencies.txt
│ │ ├── anytone_scanlist.txt
│ │ ├── anytone_statusmessages.txt
│ │ ├── anytone_wfmchannellist.txt
│ │ ├── anytone_zonechannellist.txt
│ │ ├── d578uv_airbandchannel.txt
│ │ ├── d578uv_airbandchannellist.txt
│ │ ├── d578uv_aprssettingext.txt
│ │ ├── d578uv_channel.txt
│ │ ├── d578uv_generalsettings.txt
│ │ ├── d578uv_generalsettingsextension.txt
│ │ ├── d578uv_hotkeysettings.txt
│ │ ├── d868uv_callsigndbentry.txt
│ │ ├── d868uv_callsigndblimit.txt
│ │ ├── d868uv_channel.txt
│ │ ├── d868uv_generalsettings.txt
│ │ ├── d868uvanalogcontact.txt
│ │ ├── d868uvchannel.txt
│ │ ├── d868uvcontact.txt
│ │ ├── d868uvgrouplist.txt
│ │ ├── d868uvmessage.txt
│ │ ├── d868uvmessagelist.txt
│ │ ├── d868uvradioid.txt
│ │ ├── d868uvscanlist.txt
│ │ ├── d868uvzonechannels.txt
│ │ ├── d878uv_aeskey.txt
│ │ ├── d878uv_aprsrxentry.txt
│ │ ├── d878uv_aprssetting.txt
│ │ ├── d878uv_aprssettingext.txt
│ │ ├── d878uv_channel.txt
│ │ ├── d878uv_dmraprssettings.txt
│ │ ├── d878uv_dmraprssystems.txt
│ │ ├── d878uv_generalsettings.txt
│ │ ├── d878uv_generalsettingsextension.txt
│ │ ├── d878uv_gpsmessage.txt
│ │ ├── d878uv_radioinfo.txt
│ │ ├── d878uv_roamingchannel.txt
│ │ ├── d878uv_roamingzone.txt
│ │ ├── d878uvgpssetting.txt
│ │ ├── detect_example.cc
│ │ ├── dm1701_buttonsettings.txt
│ │ ├── dm1701_channel.txt
│ │ ├── dm1701_settings.txt
│ │ ├── dm1701_zoneext.txt
│ │ ├── dmr6x2uv_aprssetting.txt
│ │ ├── dmr6x2uv_channel.txt
│ │ ├── dmr6x2uv_generalsettings.txt
│ │ ├── dmr6x2uv_settingsextension.txt
│ │ ├── dr1801uv_alarmsystembankelement.txt
│ │ ├── dr1801uv_alarmsystemelement.txt
│ │ ├── dr1801uv_channelbankelement.txt
│ │ ├── dr1801uv_channelelement.txt
│ │ ├── dr1801uv_contactbankelement.txt
│ │ ├── dr1801uv_contactelement.txt
│ │ ├── dr1801uv_dmrsettingselement.txt
│ │ ├── dr1801uv_dtmfidbankelement.txt
│ │ ├── dr1801uv_dtmfidelement.txt
│ │ ├── dr1801uv_dtmfsettingselement.txt
│ │ ├── dr1801uv_dtmfsystembankelement.txt
│ │ ├── dr1801uv_dtmfsystemelement.txt
│ │ ├── dr1801uv_encryptionkeybankelement.txt
│ │ ├── dr1801uv_encryptionkeyelement.txt
│ │ ├── dr1801uv_grouplistbankelement.txt
│ │ ├── dr1801uv_grouplistelement.txt
│ │ ├── dr1801uv_keysettingselement.txt
│ │ ├── dr1801uv_messagebankelement.txt
│ │ ├── dr1801uv_messageelement.txt
│ │ ├── dr1801uv_onetouchsettingelement.txt
│ │ ├── dr1801uv_onetouchsettingselement.txt
│ │ ├── dr1801uv_pttidbankelement.txt
│ │ ├── dr1801uv_pttidelement.txt
│ │ ├── dr1801uv_scanlistbankelement.txt
│ │ ├── dr1801uv_scanlistelement.txt
│ │ ├── dr1801uv_settingselement.txt
│ │ ├── dr1801uv_vfobankelement.txt
│ │ ├── dr1801uv_zonebankelement.txt
│ │ ├── dr1801uv_zoneelement.txt
│ │ ├── gd73_channel_bank.txt
│ │ ├── gd73_channel_element.txt
│ │ ├── gd73_contact_bank.txt
│ │ ├── gd73_contact_element.txt
│ │ ├── gd73_dmr_settings_element.txt
│ │ ├── gd73_dtmf_code_element.txt
│ │ ├── gd73_dtmf_ptt_settings.txt
│ │ ├── gd73_dtmf_system_element.txt
│ │ ├── gd73_encryption_key_bank.txt
│ │ ├── gd73_encryption_key_element.txt
│ │ ├── gd73_group_list_bank.txt
│ │ ├── gd73_group_list_element.txt
│ │ ├── gd73_message_bank.txt
│ │ ├── gd73_message_element.txt
│ │ ├── gd73_one_touch_element.txt
│ │ ├── gd73_scan_list_bank.txt
│ │ ├── gd73_scan_list_element.txt
│ │ ├── gd73_settings_element.txt
│ │ ├── gd73_timestamp.txt
│ │ ├── gd73_zone_bank.txt
│ │ ├── gd73_zone_element.txt
│ │ ├── gd77_callsign_db_entry.txt
│ │ ├── gd77_callsign_db_header.txt
│ │ ├── gd77_channel.txt
│ │ ├── gd77_contact.txt
│ │ ├── gd77_grouplist.txt
│ │ ├── gd77_grouplistbank.txt
│ │ ├── gd77_scanlist.txt
│ │ ├── gd77_scanlistbank.txt
│ │ ├── md390_channel.txt
│ │ ├── md390_menusettings.txt
│ │ ├── opengd77_callsign_db_entry.txt
│ │ ├── opengd77_callsign_db_header.txt
│ │ ├── opengd77_channel.txt
│ │ ├── opengd77_contact.txt
│ │ ├── opengd77_protocol_command_clear_screen_request.txt
│ │ ├── opengd77_protocol_command_control_request.txt
│ │ ├── opengd77_protocol_command_display_text_request.txt
│ │ ├── opengd77_protocol_command_okay_response.txt
│ │ ├── opengd77_protocol_command_ping_request.txt
│ │ ├── opengd77_protocol_command_render_screen_request.txt
│ │ ├── opengd77_protocol_command_request.txt
│ │ ├── opengd77_protocol_command_show_cps_screen_request.txt
│ │ ├── opengd77_protocol_command_start_gps_request.txt
│ │ ├── opengd77_protocol_read_request.txt
│ │ ├── opengd77_protocol_read_response.txt
│ │ ├── opengd77_radio_info.txt
│ │ ├── opengd77_zone.txt
│ │ ├── opengd77_zonebank.txt
│ │ ├── openrtx_channel.txt
│ │ ├── openrtx_contact.txt
│ │ ├── openrtx_header.txt
│ │ ├── openrtx_zone.txt
│ │ ├── radioddity_bootsettings.txt
│ │ ├── radioddity_boottext.txt
│ │ ├── radioddity_buttonsettings.txt
│ │ ├── radioddity_channel.txt
│ │ ├── radioddity_channelbank.txt
│ │ ├── radioddity_contact.txt
│ │ ├── radioddity_dtmfcontact.txt
│ │ ├── radioddity_generalsettings.txt
│ │ ├── radioddity_grouplist.txt
│ │ ├── radioddity_grouplistbank.txt
│ │ ├── radioddity_menusettings.txt
│ │ ├── radioddity_messagebank.txt
│ │ ├── radioddity_privacy.txt
│ │ ├── radioddity_scanlist.txt
│ │ ├── radioddity_scanlistbank.txt
│ │ ├── radioddity_vfochannel.txt
│ │ ├── radioddity_zone.txt
│ │ ├── radioddity_zonebank.txt
│ │ ├── rd5r_channel.txt
│ │ ├── rd5r_generalsettings.txt
│ │ ├── rd5r_timestamp.txt
│ │ ├── rd5rbootsettings.txt
│ │ ├── rd5rbuttonsettings.txt
│ │ ├── rd5rcontact.txt
│ │ ├── rd5rdtmfcontact.txt
│ │ ├── rd5rgrouplist.txt
│ │ ├── rd5rgrouplisttab.txt
│ │ ├── rd5rmenusettings.txt
│ │ ├── rd5rmessagetab.txt
│ │ ├── rd5rscanlist.txt
│ │ ├── rd5rscanlisttab.txt
│ │ ├── rd5rvfosettings.txt
│ │ ├── rd5rzone.txt
│ │ ├── rd5rzonetab.txt
│ │ ├── tyt_buttonsettings.txt
│ │ ├── tyt_channel.txt
│ │ ├── tyt_contact.txt
│ │ ├── tyt_emergencysettings.txt
│ │ ├── tyt_emergencysystem.txt
│ │ ├── tyt_gpssystem.txt
│ │ ├── tyt_grouplist.txt
│ │ ├── tyt_menusettings.txt
│ │ ├── tyt_onetouchsettings.txt
│ │ ├── tyt_privacy.txt
│ │ ├── tyt_scanlist.txt
│ │ ├── tyt_settings.txt
│ │ ├── tyt_timestamp.txt
│ │ ├── tyt_zone.txt
│ │ ├── tytcallsigndbentry.txt
│ │ ├── tytcallsigndbindex.txt
│ │ ├── tytcallsigndbindexentry.txt
│ │ ├── uv390_bootsettings.txt
│ │ ├── uv390_channel.txt
│ │ ├── uv390_menusettings.txt
│ │ ├── uv390_settings.txt
│ │ ├── uv390contact.txt
│ │ ├── uv390gpssystem.txt
│ │ ├── uv390message.txt
│ │ ├── uv390rxgrouplist.txt
│ │ ├── uv390scanlist.txt
│ │ ├── uv390timestamp.txt
│ │ ├── uv390userdb.txt
│ │ ├── uv390userdbcallsign.txt
│ │ ├── uv390userdbentry.txt
│ │ ├── uv390zone.txt
│ │ └── uv390zoneext.txt
│ ├── dmr-intro/
│ │ ├── fig/
│ │ │ ├── Makefile
│ │ │ ├── fm_duplex_a.tex
│ │ │ ├── fm_duplex_b.tex
│ │ │ ├── fm_echolink_a.tex
│ │ │ ├── fm_echolink_b.tex
│ │ │ ├── fm_echolink_c.tex
│ │ │ ├── fm_simplex_a.tex
│ │ │ ├── fm_simplex_b.tex
│ │ │ ├── repeater.tex
│ │ │ ├── repeater_local.tex
│ │ │ ├── repeater_privatecall.tex
│ │ │ ├── simplex_allcall.tex
│ │ │ ├── simplex_groupcall.tex
│ │ │ ├── simplex_privatecall.tex
│ │ │ ├── talkgroup_ex1a.tex
│ │ │ ├── talkgroup_ex1b.tex
│ │ │ ├── talkgroup_ex1c.tex
│ │ │ ├── timeslot.tex
│ │ │ ├── trunk_net_ex1.tex
│ │ │ ├── trunk_net_ex2.tex
│ │ │ ├── trunk_net_ex3.tex
│ │ │ ├── trunk_net_ex4a.tex
│ │ │ └── trunk_net_ex4b.tex
│ │ ├── script/
│ │ │ ├── Makefile
│ │ │ ├── script_de.tex
│ │ │ ├── script_de_01_vorwissen.tex
│ │ │ ├── script_de_02_ursprung.tex
│ │ │ ├── script_de_03_simplex.tex
│ │ │ ├── script_de_04_lokal.tex
│ │ │ ├── script_de_05_privatecall.tex
│ │ │ ├── script_de_06_textmsg.tex
│ │ │ ├── script_de_07_talkgroup.tex
│ │ │ ├── script_de_08_aprs.tex
│ │ │ ├── script_de_09_roaming.tex
│ │ │ ├── script_de_10_netze.tex
│ │ │ ├── script_de_11_technik.tex
│ │ │ └── script_de_12_codeplug.tex
│ │ ├── talk-barcamp2021/
│ │ │ └── slides.tex
│ │ └── talk-ov2023/
│ │ └── slides.tex
│ ├── dmrconf.in.xml
│ ├── docbook_man.debian.xsl
│ ├── docbook_man.fedora.xsl
│ ├── docbook_man.macports.xsl
│ ├── docbook_man.opensuse.xsl
│ ├── fig/
│ │ └── autodetect.dot
│ ├── manual/
│ │ ├── Makefile
│ │ ├── cli/
│ │ │ ├── callsign.xml
│ │ │ ├── codeplug.xml
│ │ │ ├── commandline.xml
│ │ │ ├── dangerzone.xml
│ │ │ └── various.xml
│ │ ├── codeplug/
│ │ │ ├── anytone/
│ │ │ │ ├── aprs.xml
│ │ │ │ ├── channel.xml
│ │ │ │ ├── contact.xml
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── settings.xml
│ │ │ │ └── zone.xml
│ │ │ ├── aprs.xml
│ │ │ ├── channels.xml
│ │ │ ├── commercial/
│ │ │ │ ├── channel.xml
│ │ │ │ ├── encryption.xml
│ │ │ │ └── extensions.xml
│ │ │ ├── contacts.xml
│ │ │ ├── extensions.xml
│ │ │ ├── format.xml
│ │ │ ├── grouplists.xml
│ │ │ ├── opengd77/
│ │ │ │ ├── channel.xml
│ │ │ │ ├── contact.xml
│ │ │ │ └── extensions.xml
│ │ │ ├── radioddity/
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── generalradiosettings.xml
│ │ │ │ ├── radiobootsettings.xml
│ │ │ │ ├── radiobuttonsettings.xml
│ │ │ │ ├── radiosettings.xml
│ │ │ │ └── radiotonesettings.xml
│ │ │ ├── radioids.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── scanlists.xml
│ │ │ ├── smsextension.xml
│ │ │ ├── tyt/
│ │ │ │ ├── buttonsettings.xml
│ │ │ │ ├── channel.xml
│ │ │ │ ├── extensions.xml
│ │ │ │ ├── menusettings.xml
│ │ │ │ ├── radiosettings.xml
│ │ │ │ └── scanlist.xml
│ │ │ └── zones.xml
│ │ ├── conf/
│ │ │ ├── analogchannels.xml
│ │ │ ├── aprssystems.xml
│ │ │ ├── contacts.xml
│ │ │ ├── digitalchannels.xml
│ │ │ ├── format.xml
│ │ │ ├── gpssystems.xml
│ │ │ ├── grouplists.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── scanlists.xml
│ │ │ └── zones.xml
│ │ ├── epub/
│ │ │ └── Makefile
│ │ ├── gui/
│ │ │ ├── aprs.xml
│ │ │ ├── channels.xml
│ │ │ ├── contacts.xml
│ │ │ ├── extensions.xml
│ │ │ ├── fig/
│ │ │ │ └── Makefile
│ │ │ ├── grouplists.xml
│ │ │ ├── gui.xml
│ │ │ ├── programradio.xml
│ │ │ ├── radiosettings.xml
│ │ │ ├── roaming.xml
│ │ │ ├── satellite.xml
│ │ │ ├── scanlists.xml
│ │ │ ├── settingsdialog.xml
│ │ │ └── zones.xml
│ │ ├── html/
│ │ │ ├── Makefile
│ │ │ ├── dm3mat.darc.de_manual.xsl
│ │ │ └── manual.css
│ │ ├── intro/
│ │ │ ├── codeplug.xml
│ │ │ ├── fig/
│ │ │ │ ├── Makefile
│ │ │ │ ├── fm_duplex_a.tex
│ │ │ │ ├── fm_duplex_b.tex
│ │ │ │ ├── fm_echolink_a.tex
│ │ │ │ ├── fm_echolink_b.tex
│ │ │ │ ├── fm_echolink_c.tex
│ │ │ │ ├── fm_simplex_a.tex
│ │ │ │ ├── fm_simplex_b.tex
│ │ │ │ ├── repeater.tex
│ │ │ │ ├── repeater_local.tex
│ │ │ │ ├── repeater_privatecall.tex
│ │ │ │ ├── simplex_allcall.tex
│ │ │ │ ├── simplex_groupcall.tex
│ │ │ │ ├── simplex_privatecall.tex
│ │ │ │ ├── talkgroup_ex1a.tex
│ │ │ │ ├── talkgroup_ex1b.tex
│ │ │ │ ├── talkgroup_ex1c.tex
│ │ │ │ ├── timeslot.tex
│ │ │ │ ├── trunk_net_ex1.tex
│ │ │ │ ├── trunk_net_ex2.tex
│ │ │ │ ├── trunk_net_ex3.tex
│ │ │ │ ├── trunk_net_ex4a.tex
│ │ │ │ └── trunk_net_ex4b.tex
│ │ │ ├── foreknowledge.xml
│ │ │ ├── introduction.xml
│ │ │ ├── local.xml
│ │ │ ├── networks.xml
│ │ │ ├── origin.xml
│ │ │ ├── private.xml
│ │ │ ├── roaming.xml
│ │ │ ├── simplex.xml
│ │ │ ├── talkgroup.xml
│ │ │ ├── technicalbackground.xml
│ │ │ └── textmessages.xml
│ │ ├── manual.code-workspace
│ │ ├── manual.xml
│ │ ├── manual_fo.debian.xsl
│ │ ├── meta/
│ │ │ ├── abstract.xml
│ │ │ ├── authors.xml
│ │ │ ├── glossary.xml
│ │ │ └── preface.xml
│ │ └── reveng/
│ │ ├── codeplug.xml
│ │ ├── protocol.xml
│ │ └── reverseengineering.xml
│ ├── qdmr.in.xml
│ └── reveng/
│ ├── README.md
│ ├── anytone/
│ │ ├── README.md
│ │ ├── d578uv/
│ │ │ └── at_d578uv_emulator.py
│ │ ├── d868uve/
│ │ │ └── at_d868uv_emulator.py
│ │ ├── d878uv/
│ │ │ ├── README.md
│ │ │ ├── capture_base.pcapng
│ │ │ ├── capture_set_gps_on.pcapng
│ │ │ ├── cpsfileformat.md
│ │ │ ├── d878uv_base.hex
│ │ │ ├── d878uv_set_gps_on.hex
│ │ │ └── extract.py
│ │ └── d878uv2/
│ │ └── at_d878uv2_emulator.py
│ ├── baofeng/
│ │ ├── d6x2uv/
│ │ │ └── dmr_6x2uv_emulator.py
│ │ └── dr1801/
│ │ ├── extract.py
│ │ └── protocol.md
│ ├── cotre/
│ │ ├── README.md
│ │ └── extract.py
│ ├── gd77/
│ │ ├── callsign-db.md
│ │ └── dump.py
│ ├── pinspect/
│ │ ├── __init__.py
│ │ ├── auctus_a6.py
│ │ ├── cdcacmfilter.py
│ │ ├── datagram.py
│ │ ├── devicefilter.py
│ │ ├── packethandler.py
│ │ ├── rawstreamdump.py
│ │ ├── streamhandler.py
│ │ └── utilities.py
│ ├── radioddity/
│ │ └── gd73/
│ │ ├── README.md
│ │ ├── extract.py
│ │ └── protocol.md
│ └── retevis/
│ └── rt84/
│ └── extract.py
├── examples/
│ ├── BER AirBand.yaml
│ ├── kw.conf
│ ├── kw.yaml
│ ├── minimal.conf
│ ├── minimal.yaml
│ ├── pmr.yaml
│ ├── potsdam.yaml
│ └── sat.yaml
├── i18n/
│ ├── Makefile
│ ├── de.ts
│ ├── en_US.ts
│ ├── fr.ts
│ ├── it.ts
│ ├── nl.ts
│ ├── pl.ts
│ ├── pt_BR.ts
│ ├── ru.ts
│ └── sv.ts
├── lib/
│ ├── CMakeLists.txt
│ ├── addressmap.cc
│ ├── addressmap.hh
│ ├── anytone_codeplug.cc
│ ├── anytone_codeplug.hh
│ ├── anytone_extension.cc
│ ├── anytone_extension.hh
│ ├── anytone_filereader.cc
│ ├── anytone_filereader.hh
│ ├── anytone_interface.cc
│ ├── anytone_interface.hh
│ ├── anytone_limits.cc
│ ├── anytone_limits.hh
│ ├── anytone_radio.cc
│ ├── anytone_radio.hh
│ ├── anytone_satelliteconfig.cc
│ ├── anytone_satelliteconfig.hh
│ ├── anytone_settingsextension.cc
│ ├── anytone_settingsextension.hh
│ ├── auctus_a6_interface.cc
│ ├── auctus_a6_interface.hh
│ ├── audiosettings.cc
│ ├── audiosettings.hh
│ ├── bootsettings.cc
│ ├── bootsettings.hh
│ ├── c7000device.cc
│ ├── c7000device.hh
│ ├── callsigndb.cc
│ ├── callsigndb.hh
│ ├── channel.cc
│ ├── channel.hh
│ ├── channel_extension.cc
│ ├── channel_extension.hh
│ ├── chirpformat.cc
│ ├── chirpformat.hh
│ ├── codeplug.cc
│ ├── codeplug.hh
│ ├── commercial_extension.cc
│ ├── commercial_extension.hh
│ ├── config.cc
│ ├── config.h.in
│ ├── config.hh
│ ├── configcopyvisitor.cc
│ ├── configcopyvisitor.hh
│ ├── configlabelingvisitor.cc
│ ├── configlabelingvisitor.hh
│ ├── configmergevisitor.cc
│ ├── configmergevisitor.hh
│ ├── configobject.cc
│ ├── configobject.hh
│ ├── configreference.cc
│ ├── configreference.hh
│ ├── contact.cc
│ ├── contact.hh
│ ├── crc32.cc
│ ├── crc32.hh
│ ├── csvreader.cc
│ ├── csvreader.hh
│ ├── d168uv.cc
│ ├── d168uv.hh
│ ├── d168uv_codeplug.cc
│ ├── d168uv_codeplug.hh
│ ├── d168uv_limits.cc
│ ├── d168uv_limits.hh
│ ├── d168uv_satelliteconfig.cc
│ ├── d168uv_satelliteconfig.hh
│ ├── d578uv.cc
│ ├── d578uv.hh
│ ├── d578uv_codeplug.cc
│ ├── d578uv_codeplug.hh
│ ├── d578uv_limits.cc
│ ├── d578uv_limits.hh
│ ├── d868uv.cc
│ ├── d868uv.hh
│ ├── d868uv_callsigndb.cc
│ ├── d868uv_callsigndb.hh
│ ├── d868uv_codeplug.cc
│ ├── d868uv_codeplug.hh
│ ├── d868uv_filereader.cc
│ ├── d868uv_filereader.hh
│ ├── d868uv_limits.cc
│ ├── d868uv_limits.hh
│ ├── d878uv.cc
│ ├── d878uv.hh
│ ├── d878uv2.cc
│ ├── d878uv2.hh
│ ├── d878uv2_callsigndb.cc
│ ├── d878uv2_callsigndb.hh
│ ├── d878uv2_codeplug.cc
│ ├── d878uv2_codeplug.hh
│ ├── d878uv2_limits.cc
│ ├── d878uv2_limits.hh
│ ├── d878uv_codeplug.cc
│ ├── d878uv_codeplug.hh
│ ├── d878uv_filereader.cc
│ ├── d878uv_filereader.hh
│ ├── d878uv_limits.cc
│ ├── d878uv_limits.hh
│ ├── dfu_libusb.cc
│ ├── dfu_libusb.hh
│ ├── dfufile.cc
│ ├── dfufile.hh
│ ├── dm1701.cc
│ ├── dm1701.hh
│ ├── dm1701_callsigndb.cc
│ ├── dm1701_callsigndb.hh
│ ├── dm1701_codeplug.cc
│ ├── dm1701_codeplug.hh
│ ├── dm1701_filereader.cc
│ ├── dm1701_filereader.hh
│ ├── dm1701_limits.cc
│ ├── dm1701_limits.hh
│ ├── dm32uv.cc
│ ├── dm32uv.hh
│ ├── dm32uv_callsigndb.cc
│ ├── dm32uv_callsigndb.hh
│ ├── dm32uv_codeplug.cc
│ ├── dm32uv_codeplug.hh
│ ├── dm32uv_interface.cc
│ ├── dm32uv_interface.hh
│ ├── dm32uv_limits.cc
│ ├── dm32uv_limits.hh
│ ├── dmr6x2uv.cc
│ ├── dmr6x2uv.hh
│ ├── dmr6x2uv2.cc
│ ├── dmr6x2uv2.hh
│ ├── dmr6x2uv2_codeplug.cc
│ ├── dmr6x2uv2_codeplug.hh
│ ├── dmr6x2uv2_limits.cc
│ ├── dmr6x2uv2_limits.hh
│ ├── dmr6x2uv_codeplug.cc
│ ├── dmr6x2uv_codeplug.hh
│ ├── dmr6x2uv_limits.cc
│ ├── dmr6x2uv_limits.hh
│ ├── dmrsettings.cc
│ ├── dmrsettings.hh
│ ├── dr1801uv.cc
│ ├── dr1801uv.hh
│ ├── dr1801uv_codeplug.cc
│ ├── dr1801uv_codeplug.hh
│ ├── dr1801uv_filereader.cc
│ ├── dr1801uv_filereader.hh
│ ├── dr1801uv_interface.cc
│ ├── dr1801uv_interface.hh
│ ├── dr1801uv_limits.cc
│ ├── dr1801uv_limits.hh
│ ├── dummyfilereader.cc
│ ├── dummyfilereader.hh
│ ├── encryptionextension.cc
│ ├── encryptionextension.hh
│ ├── errorstack.cc
│ ├── errorstack.hh
│ ├── frequency.cc
│ ├── frequency.hh
│ ├── gd73.cc
│ ├── gd73.hh
│ ├── gd73_codeplug.cc
│ ├── gd73_codeplug.hh
│ ├── gd73_filereader.cc
│ ├── gd73_filereader.hh
│ ├── gd73_interface.cc
│ ├── gd73_interface.hh
│ ├── gd73_limits.cc
│ ├── gd73_limits.hh
│ ├── gd77.cc
│ ├── gd77.hh
│ ├── gd77_callsigndb.cc
│ ├── gd77_callsigndb.hh
│ ├── gd77_codeplug.cc
│ ├── gd77_codeplug.hh
│ ├── gd77_filereader.cc
│ ├── gd77_filereader.hh
│ ├── gd77_limits.cc
│ ├── gd77_limits.hh
│ ├── gnsssettings.cc
│ ├── gnsssettings.hh
│ ├── gpssystem.cc
│ ├── gpssystem.hh
│ ├── hid_libusb.cc
│ ├── hid_libusb.hh
│ ├── hid_macos.cc
│ ├── hid_macos.hh
│ ├── intermediaterepresentation.cc
│ ├── intermediaterepresentation.hh
│ ├── interval.cc
│ ├── interval.hh
│ ├── level.cc
│ ├── level.hh
│ ├── libdmrconf.hh
│ ├── logger.cc
│ ├── logger.hh
│ ├── md2017.cc
│ ├── md2017.hh
│ ├── md2017_callsigndb.cc
│ ├── md2017_callsigndb.hh
│ ├── md2017_codeplug.cc
│ ├── md2017_codeplug.hh
│ ├── md2017_filereader.cc
│ ├── md2017_filereader.hh
│ ├── md2017_limits.cc
│ ├── md2017_limits.hh
│ ├── md390.cc
│ ├── md390.hh
│ ├── md390_codeplug.cc
│ ├── md390_codeplug.hh
│ ├── md390_filereader.cc
│ ├── md390_filereader.hh
│ ├── md390_limits.cc
│ ├── md390_limits.hh
│ ├── melody.cc
│ ├── melody.hh
│ ├── melody_stream.cc
│ ├── melody_stream.hh
│ ├── opengd77.cc
│ ├── opengd77.hh
│ ├── opengd77_callsigndb.cc
│ ├── opengd77_callsigndb.hh
│ ├── opengd77_codeplug.cc
│ ├── opengd77_codeplug.hh
│ ├── opengd77_extension.cc
│ ├── opengd77_extension.hh
│ ├── opengd77_interface.cc
│ ├── opengd77_interface.hh
│ ├── opengd77_limits.cc
│ ├── opengd77_limits.hh
│ ├── opengd77_satelliteconfig.cc
│ ├── opengd77_satelliteconfig.hh
│ ├── opengd77base.cc
│ ├── opengd77base.hh
│ ├── opengd77base_callsigndb.cc
│ ├── opengd77base_callsigndb.hh
│ ├── opengd77base_codeplug.cc
│ ├── opengd77base_codeplug.hh
│ ├── opengd77base_satelliteconfig.cc
│ ├── opengd77base_satelliteconfig.hh
│ ├── openrtx.cc
│ ├── openrtx.hh
│ ├── openrtx_codeplug.cc
│ ├── openrtx_codeplug.hh
│ ├── openrtx_interface.cc
│ ├── openrtx_interface.hh
│ ├── openrtx_link.cc
│ ├── openrtx_link.hh
│ ├── openuv380.cc
│ ├── openuv380.hh
│ ├── openuv380_callsigndb.cc
│ ├── openuv380_callsigndb.hh
│ ├── openuv380_codeplug.cc
│ ├── openuv380_codeplug.hh
│ ├── openuv380_satelliteconfig.cc
│ ├── openuv380_satelliteconfig.hh
│ ├── orbitalelementsdatabase.cc
│ ├── orbitalelementsdatabase.hh
│ ├── packetstream.cc
│ ├── packetstream.hh
│ ├── radio.cc
│ ├── radio.hh
│ ├── radioddity_codeplug.cc
│ ├── radioddity_codeplug.hh
│ ├── radioddity_extensions.cc
│ ├── radioddity_extensions.hh
│ ├── radioddity_interface.cc
│ ├── radioddity_interface.hh
│ ├── radioddity_radio.cc
│ ├── radioddity_radio.hh
│ ├── radioid.cc
│ ├── radioid.hh
│ ├── radioinfo.cc
│ ├── radioinfo.hh
│ ├── radiointerface.cc
│ ├── radiointerface.hh
│ ├── radiolimits.cc
│ ├── radiolimits.hh
│ ├── radiosettings.cc
│ ├── radiosettings.hh
│ ├── ranges.cc
│ ├── ranges.hh
│ ├── rd5r.cc
│ ├── rd5r.hh
│ ├── rd5r_codeplug.cc
│ ├── rd5r_codeplug.hh
│ ├── rd5r_filereader.cc
│ ├── rd5r_filereader.hh
│ ├── rd5r_limits.cc
│ ├── rd5r_limits.hh
│ ├── roamingchannel.cc
│ ├── roamingchannel.hh
│ ├── roamingzone.cc
│ ├── roamingzone.hh
│ ├── rxgrouplist.cc
│ ├── rxgrouplist.hh
│ ├── satelliteconfig.cc
│ ├── satelliteconfig.hh
│ ├── satellitedatabase.cc
│ ├── satellitedatabase.hh
│ ├── scanlist.cc
│ ├── scanlist.hh
│ ├── signaling.cc
│ ├── signaling.hh
│ ├── smsextension.cc
│ ├── smsextension.hh
│ ├── talkgroupdatabase.cc
│ ├── talkgroupdatabase.hh
│ ├── tonesettings.cc
│ ├── tonesettings.hh
│ ├── transferflags.cc
│ ├── transferflags.hh
│ ├── transponderdatabase.cc
│ ├── transponderdatabase.hh
│ ├── tyt_callsigndb.cc
│ ├── tyt_callsigndb.hh
│ ├── tyt_codeplug.cc
│ ├── tyt_codeplug.hh
│ ├── tyt_extensions.cc
│ ├── tyt_extensions.hh
│ ├── tyt_interface.cc
│ ├── tyt_interface.hh
│ ├── tyt_radio.cc
│ ├── tyt_radio.hh
│ ├── usbdevice.cc
│ ├── usbdevice.hh
│ ├── usbserial.cc
│ ├── usbserial.hh
│ ├── userdatabase.cc
│ ├── userdatabase.hh
│ ├── utils.cc
│ ├── utils.hh
│ ├── uv390.cc
│ ├── uv390.hh
│ ├── uv390_callsigndb.cc
│ ├── uv390_callsigndb.hh
│ ├── uv390_codeplug.cc
│ ├── uv390_codeplug.hh
│ ├── uv390_filereader.cc
│ ├── uv390_filereader.hh
│ ├── uv390_limits.cc
│ ├── uv390_limits.hh
│ ├── visitor.cc
│ ├── visitor.hh
│ ├── xmodem.cc
│ ├── xmodem.hh
│ ├── zone.cc
│ └── zone.hh
├── shared/
│ ├── icons/
│ │ ├── dark/
│ │ │ └── index.theme
│ │ └── light/
│ │ └── index.theme
│ ├── resources.qrc
│ └── ui/
│ └── aboutdialog.ui
├── src/
│ ├── CMakeLists.txt
│ ├── aboutdialog.ui
│ ├── admitselect.cc
│ ├── admitselect.hh
│ ├── amchanneldialog.cc
│ ├── amchanneldialog.hh
│ ├── application.cc
│ ├── application.hh
│ ├── aprsselect.cc
│ ├── aprsselect.hh
│ ├── aprssystemdialog.cc
│ ├── aprssystemdialog.hh
│ ├── aprssystemdialog.ui
│ ├── bandwidthselect.cc
│ ├── bandwidthselect.hh
│ ├── channel_type_edit.cc
│ ├── channel_type_edit.hh
│ ├── channelcombobox.cc
│ ├── channelcombobox.hh
│ ├── channeldialog.cc
│ ├── channeldialog.hh
│ ├── channeldialog.ui
│ ├── channellistview.cc
│ ├── channellistview.hh
│ ├── channellistview.ui
│ ├── channelselectiondialog.cc
│ ├── channelselectiondialog.hh
│ ├── channelvalidator.cc
│ ├── channelvalidator.hh
│ ├── collapsablewidget.cc
│ ├── collapsablewidget.hh
│ ├── configitemwrapper.cc
│ ├── configitemwrapper.hh
│ ├── configmergedialog.cc
│ ├── configmergedialog.hh
│ ├── configmergedialog.ui
│ ├── configobjectlistview.cc
│ ├── configobjectlistview.hh
│ ├── configobjectlistview.ui
│ ├── configobjecttableview.cc
│ ├── configobjecttableview.hh
│ ├── configobjecttableview.ui
│ ├── configobjecttypeselectiondialog.cc
│ ├── configobjecttypeselectiondialog.hh
│ ├── configobjecttypeselectiondialog.ui
│ ├── contactlistview.cc
│ ├── contactlistview.hh
│ ├── contactlistview.ui
│ ├── contactselectiondialog.cc
│ ├── contactselectiondialog.hh
│ ├── deviceselectiondialog.cc
│ ├── deviceselectiondialog.hh
│ ├── deviceselectiondialog.ui
│ ├── dmrchanneldialog.cc
│ ├── dmrchanneldialog.hh
│ ├── dmrcontactdialog.cc
│ ├── dmrcontactdialog.hh
│ ├── dmrcontactdialog.ui
│ ├── dmriddialog.cc
│ ├── dmriddialog.hh
│ ├── dmriddialog.ui
│ ├── dtmfcontactdialog.cc
│ ├── dtmfcontactdialog.hh
│ ├── dtmfcontactdialog.ui
│ ├── errormessageview.cc
│ ├── errormessageview.hh
│ ├── errormessageview.ui
│ ├── extensionview.cc
│ ├── extensionview.hh
│ ├── extensionview.ui
│ ├── extensionwrapper.cc
│ ├── extensionwrapper.hh
│ ├── flageditdialog.cc
│ ├── flageditdialog.hh
│ ├── flageditdialog.ui
│ ├── fmchanneldialog.cc
│ ├── fmchanneldialog.hh
│ ├── generalsettingsview.cc
│ ├── generalsettingsview.hh
│ ├── generalsettingsview.ui
│ ├── gpssystemdialog.cc
│ ├── gpssystemdialog.hh
│ ├── gpssystemdialog.ui
│ ├── grouplistsview.cc
│ ├── grouplistsview.hh
│ ├── grouplistsview.ui
│ ├── hearhamrepeatersource.cc
│ ├── hearhamrepeatersource.hh
│ ├── idselect.cc
│ ├── idselect.hh
│ ├── m17channeldialog.cc
│ ├── m17channeldialog.hh
│ ├── m17contactdialog.cc
│ ├── m17contactdialog.hh
│ ├── m17contactdialog.ui
│ ├── main.cc
│ ├── mainwindow.cc
│ ├── mainwindow.hh
│ ├── mainwindow.ui
│ ├── melody_edit.cc
│ ├── melody_edit.hh
│ ├── melody_player.cc
│ ├── melody_player.hh
│ ├── positioningsystemlistview.cc
│ ├── positioningsystemlistview.hh
│ ├── positioningsystemlistview.ui
│ ├── propertydelegate.cc
│ ├── propertydelegate.hh
│ ├── radioidlistview.cc
│ ├── radioidlistview.hh
│ ├── radioidlistview.ui
│ ├── radioidrepeatersource.cc
│ ├── radioidrepeatersource.hh
│ ├── radioselectiondialog.cc
│ ├── radioselectiondialog.hh
│ ├── radioselectiondialog.ui
│ ├── releasenotes.cc
│ ├── releasenotes.hh
│ ├── repeaterbooksource.cc
│ ├── repeaterbooksource.hh
│ ├── repeatercompleter.cc
│ ├── repeatercompleter.hh
│ ├── repeaterdatabase.cc
│ ├── repeaterdatabase.hh
│ ├── repeatermapsource.cc
│ ├── repeatermapsource.hh
│ ├── roamingchanneldialog.cc
│ ├── roamingchanneldialog.hh
│ ├── roamingchanneldialog.ui
│ ├── roamingchannellistview.cc
│ ├── roamingchannellistview.hh
│ ├── roamingchannellistview.ui
│ ├── roamingchannelselectiondialog.cc
│ ├── roamingchannelselectiondialog.hh
│ ├── roamingzonedialog.cc
│ ├── roamingzonedialog.hh
│ ├── roamingzonedialog.ui
│ ├── roamingzonelistview.cc
│ ├── roamingzonelistview.hh
│ ├── roamingzonelistview.ui
│ ├── rxgrouplistdialog.cc
│ ├── rxgrouplistdialog.hh
│ ├── rxgrouplistdialog.ui
│ ├── satellitedatabasedialog.cc
│ ├── satellitedatabasedialog.hh
│ ├── satellitedatabasedialog.ui
│ ├── satelliteselectiondialog.cc
│ ├── satelliteselectiondialog.hh
│ ├── satelliteselectiondialog.ui
│ ├── satellitetransponderdialog.cc
│ ├── satellitetransponderdialog.hh
│ ├── satellitetransponderdialog.ui
│ ├── scanlistdialog.cc
│ ├── scanlistdialog.hh
│ ├── scanlistdialog.ui
│ ├── scanlistsview.cc
│ ├── scanlistsview.hh
│ ├── scanlistsview.ui
│ ├── searchpopup.cc
│ ├── searchpopup.hh
│ ├── selectivecallbox.cc
│ ├── selectivecallbox.hh
│ ├── settings.cc
│ ├── settings.hh
│ ├── settingsdialog.ui
│ ├── squelchedit.cc
│ ├── squelchedit.hh
│ ├── squelchedit.ui
│ ├── timeslotselect.cc
│ ├── timeslotselect.hh
│ ├── transponderfrequencydelegate.cc
│ ├── transponderfrequencydelegate.hh
│ ├── verifydialog.cc
│ ├── verifydialog.hh
│ ├── verifydialog.ui
│ ├── zonedialog.cc
│ ├── zonedialog.hh
│ ├── zonedialog.ui
│ ├── zonelistview.cc
│ ├── zonelistview.hh
│ └── zonelistview.ui
└── test/
├── CMakeLists.txt
├── chirptest.cc
├── chirptest.hh
├── configtest.cc
├── configtest.hh
├── copytest.cc
├── copytest.hh
├── crc32test.cc
├── crc32test.hh
├── d168uv_test.cc
├── d168uv_test.hh
├── d578uv_test.cc
├── d578uv_test.hh
├── d868uve_test.cc
├── d868uve_test.hh
├── d878uv2_test.cc
├── d878uv2_test.hh
├── d878uv_test.cc
├── d878uv_test.hh
├── data/
│ ├── aes_encryption.yaml
│ ├── am_channel_test.yaml
│ ├── anytone_auto_repeater_extension.yaml
│ ├── anytone_call_hangtime.yaml
│ ├── anytone_channel_data_ack.yaml
│ ├── anytone_key_function.yaml
│ ├── anytone_settings_display.yaml
│ ├── anytone_settings_roaming.yaml
│ ├── arc4_encryption.yaml
│ ├── audio_settings_extension.yaml
│ ├── basic_encryption.yaml
│ ├── channel_frequency_test.yaml
│ ├── chirp_bandwidth.csv
│ ├── chirp_cross.csv
│ ├── chirp_ctcss.csv
│ ├── chirp_dcs.csv
│ ├── chirp_simple.csv
│ ├── config_test.yaml
│ ├── ctcss_copy_test.yaml
│ ├── ctcss_null_test.yaml
│ ├── dtmf_contact.yaml
│ ├── fm_aprs_test.yaml
│ ├── multiple_radio_ids.yaml
│ ├── opengd77_boot_melody.yaml
│ ├── opengd77_simple_config.yaml
│ └── roaming_channel_test.yaml
├── dm1701_test.cc
├── dm1701_test.hh
├── dm32uv_test.cc
├── dm32uv_test.hh
├── dmr6x2uv2_test.cc
├── dmr6x2uv2_test.hh
├── dmr6x2uv_test.cc
├── dmr6x2uv_test.hh
├── dr1801_test.cc
├── dr1801_test.hh
├── gd73_test.cc
├── gd73_test.hh
├── gd77_test.cc
├── gd77_test.hh
├── labeltest.cc
├── labeltest.hh
├── libdmrconfigtest.cc
├── libdmrconfigtest.hh
├── md2017_test.cc
├── md2017_test.hh
├── md390_test.cc
├── md390_test.hh
├── mergetest.cc
├── mergetest.hh
├── opengd77_test.cc
├── opengd77_test.hh
├── openuv380_test.cc
├── openuv380_test.hh
├── rd5r_test.cc
├── rd5r_test.hh
├── resources.qrc
├── smstemplatetest.cc
├── smstemplatetest.hh
├── tableformattest.cc
├── tableformattest.hh
├── trafotest.cc
├── trafotest.hh
├── utilstest.cc
├── utilstest.hh
├── uv390_test.cc
└── uv390_test.hh
Condensed preview — 1104 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (9,499K chars).
[
{
"path": ".clang-format",
"chars": 8221,
"preview": "# yaml-language-server: $schema=https://json.schemastore.org/clang-format.json\n---\nLanguage: Cpp\nAccessModifierOf"
},
{
"path": ".github/FUNDING.yml",
"chars": 950,
"preview": "# These are supported funding model platforms\n\ngithub: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [u"
},
{
"path": ".github/ISSUE_TEMPLATE/communication-issue.md",
"chars": 448,
"preview": "---\nname: Communication issue\nabout: If qdmr/dmrconf fails to detect a device\ntitle: ''\nlabels: bug\nassignees: ''\n\n---\n\n"
},
{
"path": ".github/ISSUE_TEMPLATE/decoding-issue.md",
"chars": 648,
"preview": "---\nname: Decoding issue\nabout: If qdmr fails to read/decode a codeplug from a device.\ntitle: ''\nlabels: bug\nassignees: "
},
{
"path": ".github/workflows/clang.yml",
"chars": 1512,
"preview": "name: build-linux-clang-14\n\non:\n push:\n branches: [ \"master\" ]\n pull_request:\n branches: [ \"master\" ]\n\nenv:\n # "
},
{
"path": ".github/workflows/flatpak.yml",
"chars": 662,
"preview": "on:\n release:\n types: [published]\n \nname: Flatpak\n\njobs:\n flatpak:\n name: \"Flatpak\"\n runs-on: ubuntu-lates"
},
{
"path": ".github/workflows/unittests.yml",
"chars": 1737,
"preview": "name: unittest-linux-gcc\n\non:\n push:\n branches: [ \"master\", \"devel\" ]\n pull_request:\n branches: [ \"master\", \"dev"
},
{
"path": ".gitignore",
"chars": 382,
"preview": "/doc/html/\n/doc/latex/\n/doc/reveng/cotre/*.pcapng.gz\n/doc/reveng/gd77/*.pcapng.gz\n/doc/manual/manual.pdf\n/doc/manual/man"
},
{
"path": ".gitmodules",
"chars": 0,
"preview": ""
},
{
"path": "BUILD.md",
"chars": 3126,
"preview": "# Building `qdmr`\n\n## Overview\n\n`qdmr` is a Qt6-based application. This document provides instructions to build the proj"
},
{
"path": "CMakeLists.txt",
"chars": 3792,
"preview": "cmake_minimum_required(VERSION 3.25.0)\nproject(qdmr VERSION 0.15.0)\n\nset(RELEASE_SUFFIX \"\")\n\ncmake_policy(SET CMP0100 NE"
},
{
"path": "LICENSE",
"chars": 35149,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 6480,
"preview": "# QDMR, a GUI application and command line tool to program DMR radios\n<a href=\"https://translate.codeberg.org/projects/q"
},
{
"path": "cli/CMakeLists.txt",
"chars": 677,
"preview": "qt_add_executable(dmrconf WIN32\n main.cc\n printprogress.cc printprogress.hh\n detect.cc detect.hh\n verify.cc verify.h"
},
{
"path": "cli/autodetect.cc",
"chars": 4558,
"preview": "#include \"autodetect.hh\"\n\n#include \"logger.hh\"\n#include \"radioinfo.hh\"\n#include \"usbdevice.hh\"\n\nQVariant\nparseDeviceHand"
},
{
"path": "cli/autodetect.hh",
"chars": 387,
"preview": "#ifndef AUTODETECT_HH\n#define AUTODETECT_HH\n\n#include \"radio.hh\"\n#include <QCommandLineParser>\n#include <QCoreApplicatio"
},
{
"path": "cli/decodecodeplug.cc",
"chars": 8468,
"preview": "#include \"decodecodeplug.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QFile>\n#include <QFile"
},
{
"path": "cli/decodecodeplug.hh",
"chars": 204,
"preview": "#ifndef DECODECODEPLUG_HH\n#define DECODECODEPLUG_HH\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint decodeCodepl"
},
{
"path": "cli/detect.cc",
"chars": 552,
"preview": "#include \"detect.hh\"\n#include <QCommandLineParser>\n#include <QCoreApplication>\n\n#include \"logger.hh\"\n#include \"radio.hh\""
},
{
"path": "cli/detect.hh",
"chars": 173,
"preview": "#ifndef DETECT_HH\n#define DETECT_HH\n\nclass QCommandLineParser;\nclass QCoreApplication;\n\nint detect(QCommandLineParser &p"
},
{
"path": "cli/encodecallsigndb.cc",
"chars": 7047,
"preview": "#include \"encodecodeplug.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QFile>\n\n#include \"logg"
},
{
"path": "cli/encodecallsigndb.hh",
"chars": 212,
"preview": "#ifndef ENCODECALLSIGNDB_HH\n#define ENCODECALLSIGNDB_HH\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint encodeCa"
},
{
"path": "cli/encodecodeplug.cc",
"chars": 5827,
"preview": "#include \"encodecodeplug.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QFile>\n#include <QFile"
},
{
"path": "cli/encodecodeplug.hh",
"chars": 204,
"preview": "#ifndef ENCODECODEPLUG_HH\n#define ENCODECODEPLUG_HH\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint encodeCodepl"
},
{
"path": "cli/infofile.cc",
"chars": 614,
"preview": "#include \"infofile.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QTextStream>\n\n#include \"logg"
},
{
"path": "cli/infofile.hh",
"chars": 181,
"preview": "#ifndef INFOFILE_HH\n#define INFOFILE_HH\n\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint infoFile(QCommandLinePa"
},
{
"path": "cli/main.cc",
"chars": 9993,
"preview": "#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <iostream>\n\n#include \"logger.hh\"\n#include \"config.h\"\n"
},
{
"path": "cli/printprogress.cc",
"chars": 351,
"preview": "#include \"printprogress.hh\"\n\n#include <QTextStream>\n\n\nvoid print_progress(int prog) {\n QTextStream out(stdout);\n out <"
},
{
"path": "cli/printprogress.hh",
"chars": 111,
"preview": "#ifndef PRINTPROGRESS_HH\n#define PRINTPROGRESS_HH\n\n\nvoid print_progress(int prog);\n\n#endif // PRINTPROGRESS_HH\n"
},
{
"path": "cli/progressbar.cc",
"chars": 356,
"preview": "#include \"progressbar.hh\"\n\nvoid showProgress(unsigned percent) {\n std::cerr << \"[\";\n for (unsigned i=0; i<50; i++) {\n "
},
{
"path": "cli/progressbar.hh",
"chars": 172,
"preview": "#ifndef PROGRESSBAR_HH\n#define PROGRESSBAR_HH\n\n#include <iostream>\n\nvoid showProgress(unsigned percent=0);\nvoid updatePr"
},
{
"path": "cli/readcodeplug.cc",
"chars": 2775,
"preview": "#include \"readcodeplug.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QFile>\n\n#include \"logger"
},
{
"path": "cli/readcodeplug.hh",
"chars": 196,
"preview": "#ifndef READCODEPLUG_HH\n#define READCODEPLUG_HH\n\nclass QCommandLineParser;\nclass QCoreApplication;\n\nint readCodeplug(QCo"
},
{
"path": "cli/verify.cc",
"chars": 7237,
"preview": "#include \"verify.hh\"\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QString>\n#include <QFile>\n#incl"
},
{
"path": "cli/verify.hh",
"chars": 172,
"preview": "#ifndef VERIFY_HH\n#define VERIFY_HH\n\nclass QCommandLineParser;\nclass QCoreApplication;\n\nint verify(QCommandLineParser &p"
},
{
"path": "cli/writecallsigndb.cc",
"chars": 2965,
"preview": "#include \"writecallsigndb.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n\n#include \"logger.hh\"\n#include "
},
{
"path": "cli/writecallsigndb.hh",
"chars": 208,
"preview": "#ifndef WRITECALLSIGNDB_HH\n#define WRITECALLSIGNDB_HH\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint writeCalls"
},
{
"path": "cli/writecodeplug.cc",
"chars": 2992,
"preview": "#include \"writecodeplug.hh\"\n\n#include <QCoreApplication>\n#include <QCommandLineParser>\n#include <QFileInfo>\n\n#include \"l"
},
{
"path": "cli/writecodeplug.hh",
"chars": 200,
"preview": "#ifndef WRITECODEPLUG_HH\n#define WRITECODEPLUG_HH\n\nclass QCoreApplication;\nclass QCommandLineParser;\n\nint writeCodeplug("
},
{
"path": "cmake/FindLIBUSB_1.cmake",
"chars": 3369,
"preview": "# - Try to find libusb-1.0\n# Once done this will define\n#\n# LIBUSB_1_FOUND - system has libusb\n# LIBUSB_1_INCLUDE_DIRS -"
},
{
"path": "cmake/FindYAMLCPP.cmake",
"chars": 1570,
"preview": "# - Try to find yaml-cpp\n# Once done this will define\n#\n# YAMLCPP_FOUND - system has yaml-cpp\n# YAMLCPP_INCLUDE_DIRS - t"
},
{
"path": "cmake/GenerateIcons.cmake",
"chars": 2710,
"preview": "set(GENERATE_ICONS_OUTPUT_FILES \"\")\n\n\n\nfunction(_create_build_icon_command icon_name icon_source_dir icon_theme icon_con"
},
{
"path": "de.darc.dm3mat.qdmr.yaml",
"chars": 1032,
"preview": "app-id: de.darc.dm3mat.qdmr\nruntime: org.kde.Platform\nruntime-version: '6.9'\nsdk: org.kde.Sdk\ncommand: qdmr\nrename-deskt"
},
{
"path": "dist/99-qdmr.rules",
"chars": 753,
"preview": "# Radioddity GD-73\nSUBSYSTEM==\"usb\", ATTRS{idVendor}==\"1206\", ATTRS{idProduct}==\"0227\", MODE=\"660\", GROUP=\"dialout\"\n\n# T"
},
{
"path": "dist/CMakeLists.txt",
"chars": 982,
"preview": "if (UNIX AND NOT APPLE)\n configure_file(\"qdmr.desktop.in\" \"qdmr.desktop\")\n install(FILES ${CMAKE_CURRENT_BINARY_DIR}/q"
},
{
"path": "dist/de.darc.dm3mat.qdmr.metainfo.xml",
"chars": 1479,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- Copyright (C) 2022-2025 Hannes Matuschek <dm3mat@darc.de> -->\n\n<component ty"
},
{
"path": "dist/fedora/Dockerfile",
"chars": 378,
"preview": "FROM fedora:rawhide\n\nRUN dnf -y install fedora-packager rpmdevtools wget \\\n cmake docbook5-style-xsl xsltproc gcc"
},
{
"path": "dist/fedora/docker-build.sh",
"chars": 380,
"preview": "#!/bin/bash \n\ncp /mnt/qdmr.spec /root/rpmbuild/SPECS\nVERSION=\"0.13.2\"\nTARBALL=\"v${VERSION}.tar.gz\"\n\n# Download sources\nc"
},
{
"path": "dist/fedora/qdmr.spec",
"chars": 4196,
"preview": "#\n# spec file for package qdmr\n#\n# Copyright (c) 2021-2025, Martin Hauke <mardnh@gmx.de>\n#\n# All modifications and addit"
},
{
"path": "dist/macosx/Info.plist",
"chars": 791,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "dist/qdmr.desktop.in",
"chars": 250,
"preview": "[Desktop Entry]\nName=QDMR\nGenericName=Codeplug programming software\nComment=A universal codeplug programming software fo"
},
{
"path": "doc/CMakeLists.txt",
"chars": 2198,
"preview": "#\n# man-page generation\n#\nmessage(STATUS \"Using xsltproc: ${XSLTPROC_EXECUTABLE}\")\nconfigure_file(\"dmrconf.in.xml\" \"dmrc"
},
{
"path": "doc/code/anytone_2tonefunction.txt",
"chars": 1655,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_2toneid.txt",
"chars": 1327,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_2tonesettings.txt",
"chars": 1061,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_5tonefunction.txt",
"chars": 1539,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_5tonefunctionlist.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_5toneid.txt",
"chars": 1770,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_5toneidlist.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_5tonesettings.txt",
"chars": 5622,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_alarmsetting.txt",
"chars": 1591,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_analogalarm.txt",
"chars": 1798,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_analogquickcall.txt",
"chars": 337,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+---+---+---+---+-"
},
{
"path": "doc/code/anytone_analogquickcalls.txt",
"chars": 1347,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_bootsettings.txt",
"chars": 2388,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_channel.txt",
"chars": 4494,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_contact.txt",
"chars": 1856,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_contactmapentry.txt",
"chars": 1022,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_digitalalarm.txt",
"chars": 1522,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_digitalalarmextension.txt",
"chars": 1381,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_dmraprssettings.txt",
"chars": 2937,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_dtmfcontact.txt",
"chars": 1299,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/anytone_dtmfidlist.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_dtmfsettings.txt",
"chars": 3514,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_generalsettings.txt",
"chars": 12560,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_grouplist.txt",
"chars": 1871,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_hotkey.txt",
"chars": 1995,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_hotkeysettings.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_message.txt",
"chars": 1060,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_messagelist.txt",
"chars": 1061,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_radioid.txt",
"chars": 1326,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_repeateroffsetfrequencies.txt",
"chars": 1886,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_scanlist.txt",
"chars": 2655,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/anytone_statusmessages.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_wfmchannellist.txt",
"chars": 1886,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/anytone_zonechannellist.txt",
"chars": 2942,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d578uv_airbandchannel.txt",
"chars": 1616,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/d578uv_airbandchannellist.txt",
"chars": 2029,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/d578uv_aprssettingext.txt",
"chars": 3990,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d578uv_channel.txt",
"chars": 5094,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d578uv_generalsettings.txt",
"chars": 20209,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d578uv_generalsettingsextension.txt",
"chars": 13324,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 "
},
{
"path": "doc/code/d578uv_hotkeysettings.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/d868uv_callsigndbentry.txt",
"chars": 1402,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d868uv_callsigndblimit.txt",
"chars": 1328,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d868uv_channel.txt",
"chars": 4962,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d868uv_generalsettings.txt",
"chars": 14235,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d868uvanalogcontact.txt",
"chars": 1299,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvchannel.txt",
"chars": 4333,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvcontact.txt",
"chars": 1829,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvgrouplist.txt",
"chars": 1844,
"preview": " 0 8 16 24\n +---+---+--"
},
{
"path": "doc/code/d868uvmessage.txt",
"chars": 1033,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvmessagelist.txt",
"chars": 1034,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvradioid.txt",
"chars": 1299,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvscanlist.txt",
"chars": 2628,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/d868uvzonechannels.txt",
"chars": 2915,
"preview": " 0 8 16 24\n +---+---+--"
},
{
"path": "doc/code/d878uv_aeskey.txt",
"chars": 1060,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_aprsrxentry.txt",
"chars": 795,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_aprssetting.txt",
"chars": 14692,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_aprssettingext.txt",
"chars": 1596,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_channel.txt",
"chars": 5044,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_dmraprssettings.txt",
"chars": 3775,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/d878uv_dmraprssystems.txt",
"chars": 3187,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_generalsettings.txt",
"chars": 20535,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_generalsettingsextension.txt",
"chars": 9326,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 "
},
{
"path": "doc/code/d878uv_gpsmessage.txt",
"chars": 1336,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_radioinfo.txt",
"chars": 10881,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_roamingchannel.txt",
"chars": 1592,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uv_roamingzone.txt",
"chars": 1857,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/d878uvgpssetting.txt",
"chars": 3426,
"preview": " 0 8 16 24\n +---+---+---+"
},
{
"path": "doc/code/detect_example.cc",
"chars": 1003,
"preview": "#include \"libdmrconf/usbdevice.hh\"\n#include \"libdmrconf/anytone_radio.hh\"\n\nint main(void) {\n // Example code to detect "
},
{
"path": "doc/code/dm1701_buttonsettings.txt",
"chars": 2391,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dm1701_channel.txt",
"chars": 4495,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dm1701_settings.txt",
"chars": 6698,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dm1701_zoneext.txt",
"chars": 1326,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dmr6x2uv_aprssetting.txt",
"chars": 11031,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dmr6x2uv_channel.txt",
"chars": 5048,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dmr6x2uv_generalsettings.txt",
"chars": 18205,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dmr6x2uv_settingsextension.txt",
"chars": 4452,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_alarmsystembankelement.txt",
"chars": 2424,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_alarmsystemelement.txt",
"chars": 1327,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_channelbankelement.txt",
"chars": 4372,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 "
},
{
"path": "doc/code/dr1801uv_channelelement.txt",
"chars": 3954,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_contactbankelement.txt",
"chars": 2424,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_contactelement.txt",
"chars": 1392,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_dmrsettingselement.txt",
"chars": 1526,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_dtmfidbankelement.txt",
"chars": 2438,
"preview": "DTMF ID Bank:\n 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 "
},
{
"path": "doc/code/dr1801uv_dtmfidelement.txt",
"chars": 1062,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_dtmfsettingselement.txt",
"chars": 4224,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_dtmfsystembankelement.txt",
"chars": 2406,
"preview": "DTMF System Bank:\n 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7"
},
{
"path": "doc/code/dr1801uv_dtmfsystemelement.txt",
"chars": 1075,
"preview": "DTMF System:\n 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 "
},
{
"path": "doc/code/dr1801uv_encryptionkeybankelement.txt",
"chars": 2154,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_encryptionkeyelement.txt",
"chars": 1077,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_grouplistbankelement.txt",
"chars": 2424,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_grouplistelement.txt",
"chars": 1858,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_keysettingselement.txt",
"chars": 2019,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_messagebankelement.txt",
"chars": 2422,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_messageelement.txt",
"chars": 1061,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_onetouchsettingelement.txt",
"chars": 872,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_onetouchsettingselement.txt",
"chars": 2122,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_pttidbankelement.txt",
"chars": 2437,
"preview": "PTT ID Bank:\n 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 "
},
{
"path": "doc/code/dr1801uv_pttidelement.txt",
"chars": 895,
"preview": "PTT ID:\n 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 "
},
{
"path": "doc/code/dr1801uv_scanlistbankelement.txt",
"chars": 2424,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_scanlistelement.txt",
"chars": 2779,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_settingselement.txt",
"chars": 7190,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/dr1801uv_vfobankelement.txt",
"chars": 2459,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 "
},
{
"path": "doc/code/dr1801uv_zonebankelement.txt",
"chars": 2694,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/dr1801uv_zoneelement.txt",
"chars": 2124,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_channel_bank.txt",
"chars": 1770,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 "
},
{
"path": "doc/code/gd73_channel_element.txt",
"chars": 4804,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_contact_bank.txt",
"chars": 1755,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_contact_element.txt",
"chars": 1193,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_dmr_settings_element.txt",
"chars": 1471,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_dtmf_code_element.txt",
"chars": 982,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_dtmf_ptt_settings.txt",
"chars": 795,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_dtmf_system_element.txt",
"chars": 870,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_encryption_key_bank.txt",
"chars": 1493,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_encryption_key_element.txt",
"chars": 517,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_group_list_bank.txt",
"chars": 2089,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_group_list_element.txt",
"chars": 1527,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_message_bank.txt",
"chars": 1691,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_message_element.txt",
"chars": 700,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_one_touch_element.txt",
"chars": 652,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_scan_list_bank.txt",
"chars": 1692,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_scan_list_element.txt",
"chars": 2388,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_settings_element.txt",
"chars": 7480,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_timestamp.txt",
"chars": 2547,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd73_zone_bank.txt",
"chars": 1664,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd73_zone_element.txt",
"chars": 1902,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd77_callsign_db_entry.txt",
"chars": 184,
"preview": "0 8\n+---+---+---+---+---+---+---+---+---+---+---+---+\n| DMR ID, 8xBCD | Name, 8xASCII, 0-t"
},
{
"path": "doc/code/gd77_callsign_db_header.txt",
"chars": 238,
"preview": "0 8\n+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... +\n|'I' 'D' '-' 'V' '"
},
{
"path": "doc/code/gd77_channel.txt",
"chars": 3781,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd77_contact.txt",
"chars": 1327,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd77_grouplist.txt",
"chars": 1592,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/gd77_grouplistbank.txt",
"chars": 2963,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd77_scanlist.txt",
"chars": 2088,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/gd77_scanlistbank.txt",
"chars": 2424,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3"
},
{
"path": "doc/code/md390_channel.txt",
"chars": 4558,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/md390_menusettings.txt",
"chars": 2063,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/opengd77_callsign_db_entry.txt",
"chars": 997,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/opengd77_callsign_db_header.txt",
"chars": 1062,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/opengd77_channel.txt",
"chars": 3935,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/opengd77_contact.txt",
"chars": 1320,
"preview": " 0 8 16 24\n +---+---+"
},
{
"path": "doc/code/opengd77_protocol_command_clear_screen_request.txt",
"chars": 274,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+---+---+---+---+-"
},
{
"path": "doc/code/opengd77_protocol_command_control_request.txt",
"chars": 402,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+-"
},
{
"path": "doc/code/opengd77_protocol_command_display_text_request.txt",
"chars": 1061,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 "
},
{
"path": "doc/code/opengd77_protocol_command_okay_response.txt",
"chars": 146,
"preview": " 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+\n00 | '-' (2dh) |\n +---+---"
},
{
"path": "doc/code/opengd77_protocol_command_ping_request.txt",
"chars": 274,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+---+---+---+---+-"
},
{
"path": "doc/code/opengd77_protocol_command_render_screen_request.txt",
"chars": 274,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+---+---+---+---+-"
},
{
"path": "doc/code/opengd77_protocol_command_request.txt",
"chars": 310,
"preview": " 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0\n +---+---+---+---+---+---+---+---+---+---+---+---+-"
}
]
// ... and 904 more files (download for full content)
About this extraction
This page contains the full source code of the hmatuschek/qdmr GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1104 files (8.7 MB), approximately 2.3M tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.