Fork of dmrconfig
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Serge Vakulenko 4e5cb83c61 Build id-to-contact map for d868uv.
Image file for d868uv decreased by 768 bytes.
5 years ago
examples Fix d868uv issues. 5 years ago
.gitignore Add stub for windows dfu version. 5 years ago
99-dmr.rules Add TD-5R to the list of supported radios. 5 years ago
LICENSE Initial commit 5 years ago
Makefile Modify d868uv address map: read bitmaps first. 5 years ago
Makefile-mingw Modify d868uv address map: read bitmaps first. 5 years ago
README.md Merge branch 'master' of https://github.com/sergev/dmrconfig 5 years ago
d868uv-map.h Build id-to-contact map for d868uv. 5 years ago
d868uv.c Build id-to-contact map for d868uv. 5 years ago
dfu-libusb.c Read RD-5R image. 5 years ago
dfu-windows.c Fix windows issues. 5 years ago
gd77.c Finish parsing d868uv channels. 5 years ago
hid-libusb.c Fix build issues on Linux. 5 years ago
hid-macos.c Move OS independent HID routines to a separate file. 5 years ago
hid-windows.c Fix windows issues. 5 years ago
hid.c Move OS independent HID routines to a separate file. 5 years ago
main.c Detect d868uv on Mac. 5 years ago
md380.c Remove header check from md380_is_compatible(). 5 years ago
radio.c Build id-to-contact map for d868uv. 5 years ago
radio.h Recognize the D868UV radio. 5 years ago
rd5r.c Finish parsing d868uv channels. 5 years ago
serial.c Detect d868uv on windows. 5 years ago
util.c Fix d868uv issues. 5 years ago
util.h Finish parsing d868uv channels. 5 years ago
uv380.c Finish parsing d868uv channels. 5 years ago

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
  • TYT MD-UV380
  • TYT MD-UV390, Retevis RT3S
  • TYT MD-9600
  • Baofeng RD-5R, TD-5R
  • Radioddity GD-77
  • Anytone AT-D868UV (in development)
  • Zastone D900
  • Zastone DP880
  • Radtel RT-27D

Packaging status

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, TD-5R
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666"

# Anytone AT-D868UV: ignore this device in Modem Manager
ATTRS{idVendor}=="28e9" ATTRS{idProduct}=="018a", ENV{ID_MM_DEVICE_IGNORE}="1"

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