Fork of dmrconfig
Go to file
Serge 902fb721e3 Update RD-5R configuration example. 2018-10-18 22:59:12 -07:00
examples Update RD-5R configuration example. 2018-10-18 22:59:12 -07:00
.gitignore Add stub for windows dfu version. 2018-09-06 12:10:01 -07:00
99-dmr.rules Update d868uv. 2018-10-16 00:21:59 -07:00
LICENSE Initial commit 2018-08-20 20:45:14 -07:00
Makefile Recognize the D868UV radio. 2018-10-13 21:16:03 -07:00
Makefile-mingw Recognize the D868UV radio. 2018-10-13 21:16:03 -07:00
README.md Add GD-77 to readme. 2018-10-04 21:25:46 -07:00
d868uv-map.h Update d868uv. 2018-10-16 00:21:59 -07:00
d868uv.c D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
dfu-libusb.c Read RD-5R image. 2018-09-15 16:43:55 -07:00
dfu-windows.c Fix windows issues. 2018-09-18 04:59:46 -07:00
gd77.c D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
hid-libusb.c Fix build issues on Linux. 2018-09-17 23:43:46 -07:00
hid-macos.c Move OS independent HID routines to a separate file. 2018-09-17 23:07:42 -07:00
hid-windows.c Move OS independent HID routines to a separate file. 2018-09-17 23:07:42 -07:00
hid.c Move OS independent HID routines to a separate file. 2018-09-17 23:07:42 -07:00
main.c Add support for MD-UV390 and MD-9600. 2018-09-10 18:50:55 -07:00
md380.c D868UV: print id, name and intro strings. 2018-10-17 22:38:58 -07:00
radio.c Udev rules: ignore D868UV in modem manager. 2018-10-15 14:46:17 -07:00
radio.h Recognize the D868UV radio. 2018-10-13 21:16:03 -07:00
rd5r.c D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
serial.c D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
util.c D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
util.h D868UV: Print and parse id, name and intro strings. 2018-10-17 23:46:25 -07:00
uv380.c Set Data Call Confirmed = Off. 2018-10-01 22:03:13 -07:00

README.md

DMRconfig is a utility for programming digital radios via USB programming cable. Supported radios:

  • TYT MD-380, Retevis RT3, RT8
  • TYT MD-2017, Retevis RT82 (untested)
  • TYT MD-UV380
  • TYT MD-UV390, Retevis RT3S (untested)
  • TYT MD-9600 (untested)
  • Baofeng RD-5R
  • Radioddity GD-77
  • Zastone D900 (untested)
  • Zastone DP880 (untested)
  • Radtel RT-27D (untested)

Usage

Read codeplug from the radio and save it to file 'device.img', and also save text configuration to 'device.conf':

dmrconfig -r [-t]

Write codeplug to the radio:

dmrconfig -w [-t] file.img

Configure the radio from text file. Previous codeplug is saved to 'backup.img':

dmrconfig -c [-t] file.conf

Show configuration from the codeplug file:

dmrconfig file.img

Apply configuration from text file to the codeplug file:

dmrconfig -c file.img file.conf

Update database of contacts from CSV file:

dmrconfig -u [-t] file.csv

Option -t enables tracing of USB protocol.

Permissions

On Linux, a permission to access USB device is required. It's possible to run dmrconfig as root, like "sudo dmrconfig", but it's safer to enable access for users. Create a file /etc/udev/rules.d/99-dmr.rules with the following contents:

# TYT MD-UV380
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666"

# Baofeng RD-5R
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666"

To activate it, run:

sudo udevadm control --reload-rules

Then re-attach the USB cable to the radio.

Sources

Sources are distributed freely under the terms of Apache 2.0 license. You can download sources via GIT:

git clone https://github.com/sergev/dmrconfig

To build on Linux or Mac OS X, run:

make
make install

Regards, Serge Vakulenko KK6ABQ