# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1433631932 14400 # Node ID 3b75d85a015903846cc1d323c5c7e7d7a55b3b7c # Parent 6431de560478b3ee2aab0da9cc47b21431e561a4 [UV-5R] Add support for the Baofeng BF-A58
#2261
diff -r 6431de560478 -r 3b75d85a0159 chirp/drivers/uv5r.py --- a/chirp/drivers/uv5r.py Sat May 30 16:24:11 2015 -0400 +++ b/chirp/drivers/uv5r.py Sat Jun 06 19:05:32 2015 -0400 @@ -278,7 +278,7 @@
vhf_220_radio = "\x02"
-BASETYPE_UV5R = ["BFS", "BFB", "N5R-2", "N5R2", "N5RV", "BTS"] +BASETYPE_UV5R = ["BFS", "BFB", "N5R-2", "N5R2", "N5RV", "BTS", "BFT"] BASETYPE_F11 = ["USA"] BASETYPE_UV82 = ["US2S", "B82S", "BF82"] BASETYPE_BJ55 = ["BJ55"] # needed for for the Baojie UV-55 in bjuv55.py @@ -366,6 +366,7 @@ UV5R_MODEL_UV82 = "\x50\xBB\xFF\x20\x13\x01\x05" UV5R_MODEL_UV6 = "\x50\xBB\xFF\x20\x12\x08\x23" UV5R_MODEL_UV6_ORIG = "\x50\xBB\xFF\x12\x03\x98\x4D" +UV5R_MODEL_A58 = "\x50\xBB\xFF\x20\x14\x04\x13"
def _upper_band_from_data(data): @@ -604,6 +605,7 @@ _memsize = 0x1808 _basetype = BASETYPE_UV5R _idents = [UV5R_MODEL_291, + UV5R_MODEL_A58, UV5R_MODEL_ORIG ] _vhf_range = (136000000, 174000000)