Add support for Baofeng DM-1701 and Retevis RT84 (clones of TYT MD-UV380).

This commit is contained in:
Serge Vakulenko 2018-11-21 00:37:12 -08:00
parent ae9239bf22
commit 4c37802e45
3 changed files with 22 additions and 0 deletions

View File

@ -45,6 +45,7 @@ static struct {
{ "2017", &radio_md2017 }, // TYT MD-2017, Retevis RT82
{ "MD9600", &radio_md9600 }, // TYT MD-9600
{ "BF-5R", &radio_rd5r }, // Baofeng RD-5R, TD-5R
{ "DM-1701", &radio_rt84 }, // Baofeng DM-1701, Retevis RT84
{ "MD-760P", &radio_gd77 }, // Radioddity GD-77, version 3.1.1 and later
{ "D868UVE", &radio_d868uv }, // Anytone AT-D868UV
{ "D6X2UV", &radio_dmr6x2 }, // BTECH DMR-6x2

View File

@ -126,6 +126,7 @@ extern radio_device_t radio_rd5r; // Baofeng RD-5R
extern radio_device_t radio_gd77; // Radioddity GD-77, version 3.1.1 and later
extern radio_device_t radio_d868uv; // Anytone AT-D868UV
extern radio_device_t radio_dmr6x2; // BTECH DMR-6x2
extern radio_device_t radio_rt84; // Baofeng DM-1701, Retevis RT84
//
// Radio: memory contents.

20
uv380.c
View File

@ -2604,3 +2604,23 @@ radio_device_t radio_md9600 = {
uv380_update_timestamp,
uv380_write_csv,
};
//
// Baofeng DM-1701, Retevis RT84
//
radio_device_t radio_rt84 = {
"Retevis RT84",
uv380_download,
uv380_upload,
uv380_is_compatible,
uv380_read_image,
uv380_save_image,
uv380_print_version,
uv380_print_config,
uv380_verify_config,
uv380_parse_parameter,
uv380_parse_header,
uv380_parse_row,
uv380_update_timestamp,
uv380_write_csv,
};