Add TD-5R to the list of supported radios.

This commit is contained in:
Serge Vakulenko 2018-10-29 11:59:28 -07:00
parent 4924d00283
commit 1ea4926053
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
# TYT MD-UV380 # TYT MD-UV380
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666" SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666"
# Baofeng RD-5R # Baofeng RD-5R, TD-5R
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666" SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666"
# Anytone AT-D868UV # Anytone AT-D868UV

View File

@ -7,7 +7,7 @@ Supported radios:
* TYT MD-UV380 * TYT MD-UV380
* TYT MD-UV390, Retevis RT3S * TYT MD-UV390, Retevis RT3S
* TYT MD-9600 * TYT MD-9600
* Baofeng RD-5R * Baofeng RD-5R, TD-5R
* Radioddity GD-77 * Radioddity GD-77
* Anytone AT-D868UV (in development) * Anytone AT-D868UV (in development)
* Zastone D900 * Zastone D900
@ -54,7 +54,7 @@ Create a file /etc/udev/rules.d/99-dmr.rules with the following contents:
# TYT MD-UV380 # TYT MD-UV380
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666" SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666"
# Baofeng RD-5R # Baofeng RD-5R, TD-5R
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666" SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666"
# Anytone AT-D868UV: ignore this device in Modem Manager # Anytone AT-D868UV: ignore this device in Modem Manager

View File

@ -44,7 +44,7 @@ static struct {
{ "MD-UV390", &radio_uv390 }, // TYT MD-UV390, Retevis RT3S { "MD-UV390", &radio_uv390 }, // TYT MD-UV390, Retevis RT3S
{ "2017", &radio_md2017 }, // TYT MD-2017, Retevis RT82 { "2017", &radio_md2017 }, // TYT MD-2017, Retevis RT82
{ "MD9600", &radio_md9600 }, // TYT MD-9600 { "MD9600", &radio_md9600 }, // TYT MD-9600
{ "BF-5R", &radio_rd5r }, // Baofeng RD-5R { "BF-5R", &radio_rd5r }, // Baofeng RD-5R, TD-5R
{ "MD-760P", &radio_gd77 }, // Radioddity GD-77, version 3.1.1 and later { "MD-760P", &radio_gd77 }, // Radioddity GD-77, version 3.1.1 and later
{ "D868UVE", &radio_d868uv }, // Anytone AT-D868UV { "D868UVE", &radio_d868uv }, // Anytone AT-D868UV
{ "ZD3688", &radio_d900 }, // Zastone D900 { "ZD3688", &radio_d900 }, // Zastone D900

4
rd5r.c
View File

@ -1,5 +1,5 @@
/* /*
* Interface to Baofeng RD-5R. * Interface to Baofeng RD-5R, TD-5R.
* *
* Copyright (C) 2018 Serge Vakulenko, KK6ABQ * Copyright (C) 2018 Serge Vakulenko, KK6ABQ
* *
@ -369,7 +369,7 @@ static void download(radio_device_t *radio)
} }
// //
// Baofeng RD-5R: read memory image. // Read memory image.
// //
static void rd5r_download(radio_device_t *radio) static void rd5r_download(radio_device_t *radio)
{ {